How can I make this cookie persistent? (Classic ASP)
Posted
by
Isaac Levin
on Stack Overflow
See other posts from Stack Overflow
or by Isaac Levin
Published on 2011-01-12T16:49:59Z
Indexed on
2011/01/12
16:54 UTC
Read the original article
Hit count: 192
Hello,
I am maintaining a classic asp website that uses cookies throughout. We have had some issues where users are losing these cookies after they close the browser. I have verified in IE and Firefox that the cookie expires when the session does. The issue is that I have a extent the life of the cookie with the following Response.Cookies("foocookie").Expires = dateadd("d",1,now)
What am I doing wrong? All I want this cookie to do is be persistent. Any help would be great. Thanks
© Stack Overflow or respective owner