Cookies not working in another window

S

Seth

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,241
Members
46,831
Latest member
RusselWill

Latest Threads

Top