Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Cookies not working in another window

Reply
Thread Tools

Cookies not working in another window

 
 
Seth
Guest
Posts: n/a
 
      06-27-2004
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


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Give Request.Cookies and Response.Cookies is there any reason to use another method to use cookies? _Who ASP .Net 7 09-18-2008 07:49 PM
yet another Safari question... auto-sizing popup window not working Crunch Hardtack Javascript 0 07-14-2005 02:23 PM
Cookies working on intranet but NOT working on Internet Martin Heuckeroth ASP .Net 5 04-01-2005 01:37 AM
Response.Cookies vs Request.Cookies Alex Nitulescu ASP .Net 1 02-03-2005 09:43 AM
Persistent Cookies vs. session cookies Andy Fish Java 3 11-06-2003 10:44 AM



Advertisments