[Zope] Programmatically logging out a user

Sinang, Danny D.Sinang at spi-bpo.com
Tue Oct 3 08:24:36 EDT 2006


Hello,
 
How do I programmatically log out a user from Zope ?
 
I've asked this question before, but was told to :
 
1. Redirect the user to a page that always raises Unauthenticated. See
manage_zmi_logout.

2. from AccessControl.SecurityManagement import noSecurityManager
noSecurityManager()

Are there any other ways out there ?
 
Regards,
Danny
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20061003/d8031873/attachment.htm


More information about the Zope mailing list