Re: Question about cookies.
- From: Joe <Joe@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 4 Aug 2005 15:14:01 -0700
Hey Roland, Have a look at this article,
http://www.thescripts.com/serversidescripting/asp/articles/page1.html . This
guy says that if you don't set the Expires property then the cookie is
destroyed when the user closes his/her browser. I have done that and it does
destroy the cookie.
Sorry man but you need to update you knowledge about cookies.
Joe
"Roland Hall" wrote:
> "Joe" wrote in message
> news:C2DA98A8-DFFC-4977-8148-6BD34913EABF@xxxxxxxxxxxxxxxx
> : I want to use cookies instead of session variables for better performance
> on
> : a website.
>
> Better performance?
>
> : But I would like to expire cookie as soon as the user closes the
> : browser window.
>
> Sorry Charlie. The browser would have to update the server that it was
> leaving and that just doesn't happen.
>
> : Just like session variable,
>
> Sessions do not expire when the client closes the browser. The expire when
> they're explicitly told to expire or they time out. The default is 20
> minutes.
>
> : cookie should expire after
> : browser window is closed.
>
> It will, based on the termination date/time.
>
> : Can someone tell me if this possible.
>
> Never seen it done.
>
> : If it is how
> : should I do it.
>
> Prayer perhaps. (O:=
>
> : Thanks for your time.
>
> No problem.
>
> --
> Roland Hall
> /* This information is distributed in the hope that it will be useful, but
> without any warranty; without even the implied warranty of merchantability
> or fitness for a particular purpose. */
> Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
> WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
> MSDN Library - http://msdn.microsoft.com/library/default.asp
>
>
>
.
- Follow-Ups:
- Re: Question about cookies.
- From: Roland Hall
- Re: Question about cookies.
- Prev by Date: Re: Date Convertion
- Next by Date: Geographical location
- Previous by thread: Reading "View Source" of an HTML page using VBScript....
- Next by thread: Re: Question about cookies.
- Index(es):
Relevant Pages
|