IIS ASP - Cookies not working in another window

This is Interesting: Free IT Magazines  
Home > Archive > IIS ASP > June 2004 > Cookies not working in another window





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Cookies not working in another window
Seth

2004-06-28, 8:55 am

Hi. I'm creating a cookie and can read the cookie fine when I use the same
IE windows on a different page. But I can't read it when I use the different
page in another IE window. Anyone got any ideas what I'm doing wrong?

I'm creating the cookie like this:
Response.Cookies("cookie").Domain = "domain.com"
Response.Cookies("cookie").Path = "/"
Response.Cookies("cookie") = "some text"

And trying to read the value like this:
response.Write(Request.Cookies("cookie"))

TIA


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com