[Zope] Re: [Zope-DB] Logout script
Dieter Maurer
dieter@handshake.de
Sat, 29 Mar 2003 02:13:05 +0100
Charlie Clark wrote at 2003-3-26 10:16 +0100:
> > I like some help on writing a "Logout" dtml method for a "login-ed"
> > user. Can someone give me a tip?
>
> mm, this is actually off-topic.
Redirected to "zope@zope.org"....
> You should check the Zope-Help for the API
> but you can also just look at the source of the top frame in the ZMI where
> the logout button is.
>
> Without having the docs it's something like <dtml-var
> expr="acl_user.logout()">
This will only work for "cookie based authentication".
A logout script for basic authentication (within the limits of
this authentication type) can be found in
<http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html>
It also tells you something about cookie and basic authentication.
Dieter