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: 189

Filed under:
|
|
|

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

Related posts about session

Related posts about cookies