Re: How to clear Cookies?

From: Viatcheslav V. Vassiliev (msnewsgroup_at_www-sharp.com)
Date: 04/19/04


Date: Mon, 19 Apr 2004 15:05:46 +0400

Just do not set Expires attribute on cookie and it will expire when session
ends (usually when user closes browser window).

//------------------------------------
Regards,
Vassiliev V. V.
http://www-sharp.com -
Scripting/HTA/.Net Framework IDE

"Benny" <anonymous@devdex.com> ???????/???????? ? ???????? ?????????:
news:uX244BeJEHA.3596@tk2msftngp13.phx.gbl...
> Hello Experts,
>
> Currently I am implementing a web site that requires user login with
> ASP. I use cookies to check user's access right, the question is how can
> I clear all cookies of a browser when user logout?
>
>
> Thanks,
>
> Benny
>
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!



Relevant Pages

  • Re: Clear Login
    ... >:I have an htaccess system set up. ... >:make it that when the user closes the browser window, ... Most web sites that want to perform this level of control don't seem to use ... out a login form on the web page itself, and make use of cookies to keep ...
    (comp.security.misc)
  • Re: Clear Login
    ... >>:I have an htaccess system set up. ... >>:make it that when the user closes the browser window, ... >out a login form on the web page itself, and make use of cookies to keep ... This might be a simple case of the browser caching the page. ...
    (comp.security.misc)
  • Re: [PHP] php sessions
    ... >> browsers have different behaviors. ... >> pass a cookie from a new browser window. ... the same cookies whereas starting a whole new instance may not. ...
    (php.general)
  • Re: How to stay logged in
    ... I know I should use cookies, ... Space: disk usage analysis tool ...
    (comp.lang.php)