[thelist] ASP: Cookie - expire
Ken Schaefer
ken at adOpenStatic.com
Tue Jul 8 19:55:39 CDT 2003
Anthony is correct regarding the method to make the cookie persist beyond
the user session.
That said, I'm not a great fan of adding numbers to dates or times. Consider
the use of DateAdd() or similar instead.
Cheers
Ken
----- Original Message -----
From: "Anthony Baratta" <Anthony at Baratta.com>
To: "Casey Crookston" <casey at thecrookstons.com>; <thelist at lists.evolt.org>
Sent: Wednesday, July 09, 2003 3:36 AM
Subject: Re: [thelist] ASP: Cookie - expire
: At 07:06 AM 7/8/2003, Casey Crookston wrote:
:
: >What do I need to do so that this cookie is a permanent one?
:
: You need to set and expiration date. If you decline to set an expiration
: date the cookie is treated as a session cookie.
:
: response.cookies("CookieName").expires = Now() + 0.042 '' Approx One hour
: expiration
More information about the thelist
mailing list