Re: Need Help with cookies
- From: "clintonG" <csgallagher@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 21 Dec 2005 15:08:01 -0600
<snip />
That's called a persistent cookie as I tried to explain and as I recall it
seems you never set an expiration in the first place so how can you be
"resetting" something that didn't exist?
And another thing you mistakenly assumed, a persistent cookie does not need
a date of expiration set a year into the future as you stated. Any values
greater than Now( ) is all that is needed to persist the cookie for that
period of time.
You set that value correctly in the code you show but the wierd date into
the past is not a default for persistent cookies. Setting the date into the
past deletes a cookie.
<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/
.
- References:
- Need Help with cookies
- From: Phillip N Rounds
- Re: Need Help with cookies
- From: Phillip N Rounds
- Need Help with cookies
- Prev by Date: Re: problem with programmatically created template columns
- Next by Date: Re: How to style a CheckBoxList?
- Previous by thread: Re: Need Help with cookies
- Next by thread: WebForm_PostBackOptions Error
- Index(es):
Relevant Pages
|