Link to home
Start Free TrialLog in
Avatar of ebuescher
ebuescher

asked on

Cookies and Active Server Pages

I am using Cookies with Active Server Pages to save client information.  I use the Response.Cookies("name")="Joe" to write the cookie and Name=Request.Cookies("name") to read the cookie.  Everything works fine accessing the cookie info within a session, but if the client closes his browser and comes back, the cookie info is lost.  I've played with the Response.Cookies.Expires=nn code, which makes the cookies not work at all.

So how does one write a semi-permanent cookie that can be accessed at a later time with ASP/VBScript? Or at least one that expires at a given time in the future?

Thanks - eric@txhwy.com
ASKER CERTIFIED SOLUTION
Avatar of faster
faster

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial