How long does a session cookie last?
Hi All,
According to a book, the cookie without expires lasts the browser
session. I think a browser session ends if you close all the browser
windows. I setup a cookie without expires in IE6 using JavaScript and
closed it. When I open IE agian, the cookie is still there. Why?
Does it mean that a session cookie will be deleted at some time after
the browser session? (Just like a stored cookie will be deleted at
some time after the Expires attribute)
Does the browser delete the cookie or the OS delete the cookie?
Thank you.
.
Relevant Pages
- RE: Conditional execution of Signout
... Have you tried to set the cookie's Expires to DateTime.MinValue? ... make it a session cookie. ... It will expires after you close the browser. ... defaultpage which has a signout link. ... (microsoft.public.dotnet.framework.aspnet.security) - Re: PL/SQL Toolkit - deleting cookies?
... Jeremy wrote: ... Then I run this from a browser but the cookie remains unaltered. ... perhaps cannot be removed (only goes away when browser session is ... (comp.databases.oracle.server) - Re: cookie expiry date 01/01/0001
... The browser will not send the expiration date of the cookie ... before the cookie expires, then you probably need to store another ... (microsoft.public.dotnet.general) - Re: How to Delete a Cookie?
... current (which causes the browser to delete the cookie). ... Here's a function I use to return a cookie expiry timestamp, ... `expires` should be a string in the format "Wdy, ... (comp.lang.python) - Browser Session
... browser session ends if you close all the browser windows. ... I setup a cookie without expires in IE using _javascript_ and closed it. ... (microsoft.public.scripting.vbscript) |
|