Cookies

S

Seth

I've added a cookie and I am able to read it when using the same window but
if I load up a new window and try to access it, it can't find the cookie.
Any one know why? Thanks
 
D

Dave Anderson

Seth said:
I've added a cookie and I am able to read it when using the same
window but if I load up a new window and try to access it, it can't
find the cookie. Any one know why?

Yep. You're using an Internet Explorer version >= 5.01.


--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.
 
D

Dave Anderson

I said:
Yep. You're using an Internet Explorer version >= 5.01.

You might have thought this was unhelpful, correct as it almost certainly
was.

The underlying reason is that Microsoft thought it could get clever with IE
and allow different windows to use different ASP sessions simultaneously.
Unfortunately, with IE 5.01, MS also took away [Tools : Internet Options :
Advanced : Launch new windows in separate processes], so the decision to use
separate processes (and share such things as cookies) is no longer yours. IE
makes the decision based on resources available.
http://aspfaq.com/show.asp?id=2157



Then again, you might not be talking about session cookies, in which case
you almost certainly are dealing with a privacy/security issue. Do you
experience the same behavior when you use the most permissive settings for
privacy and security?



Or I could just have read your post incorrectly, and thought that you
understood the difference between transient and persistent cookies. In that
case, see Curt's post, and ignore mine.




--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.
 
S

Seth

Thanks for that. All the websites I looked at for using cookies, none of
them stated that setting .Expires will save the cookie. Thanks for the help.
 
S

Seth

Thanks for that. All the websites I looked at for using cookies, none of
them stated that setting .Expires will save the cookie. Thanks for the help.
 

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,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top