Z
Ziphyre
Hi,
I try to get cookies from a web site. In the response header, there are
3 Set-Cookie directives, but when I query my CookieCollection with
something like:
foreach(Cookie cky in hwrsp.Cookies)
{
cookies.Items.Add(cky.Name + " = " + cky.Value); //a simple list
}
only these 2 appear in the list:
cookie_hash = 44d96e4f352434bbf4e5f5dc9b3d006a
security_hash = 323466345345
but a query to WebHeaderCollection reveals these 3:
Set-Cookie: cookie_hash=44d96e4f352434bbf4e5f5dc9b3d006a; path=/
Set-Cookie: session_id=0d4fcc6532f69bed9108d59ce7dfb71a; path=/;
domain=www.test.com
Set-Cookie: security_hash=323466345345; expires=Mon, 13-Dec-2004
11:59:18 GMT; path=/; domain=.test.com
I can't see why session_id is missing as well as other parts?
Thanks
I try to get cookies from a web site. In the response header, there are
3 Set-Cookie directives, but when I query my CookieCollection with
something like:
foreach(Cookie cky in hwrsp.Cookies)
{
cookies.Items.Add(cky.Name + " = " + cky.Value); //a simple list
}
only these 2 appear in the list:
cookie_hash = 44d96e4f352434bbf4e5f5dc9b3d006a
security_hash = 323466345345
but a query to WebHeaderCollection reveals these 3:
Set-Cookie: cookie_hash=44d96e4f352434bbf4e5f5dc9b3d006a; path=/
Set-Cookie: session_id=0d4fcc6532f69bed9108d59ce7dfb71a; path=/;
domain=www.test.com
Set-Cookie: security_hash=323466345345; expires=Mon, 13-Dec-2004
11:59:18 GMT; path=/; domain=.test.com
I can't see why session_id is missing as well as other parts?
Thanks