29 Mar
2003
29 Mar
'03
1:13 a.m.
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
8408
Age (days ago)
8408
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dieter Maurer