[Zope] Re: User logout

Juan Garcia Garcia juangar@dei.inf.uc3m.es
Wed, 9 Jan 2002 14:09:50 +0100 (CET)


Hi,

> Anybody know how to programically implement user logOUT?
What i do is <dtml-call "AUTHENTICATED_USER.logout(REQUEST)">.
I use cookie-based authentication, but i don't know if it works with
standard basic authentication

> Is it something like (not tested yet): set "anonymous", uses Zope API; 
> then forward him to login form? I would like to logout, then press
> "<=" back button into the browser and get access denied, but not
> be still logged in.
If you press the back button of the browser, maybe it will not ask you for
login, because the page was saved in the cache.

Bye.
Juan