<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1528" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=668002112-03102006><FONT face=Arial
size=2>Hello,</FONT></SPAN></DIV>
<DIV><SPAN class=668002112-03102006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=668002112-03102006><FONT face=Arial size=2>How do I
programmatically log out a user from Zope ?</FONT></SPAN></DIV>
<DIV><SPAN class=668002112-03102006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=668002112-03102006><FONT face=Arial size=2>I've asked this
question before, but was told to :</FONT></SPAN></DIV>
<DIV><SPAN class=668002112-03102006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=668002112-03102006><FONT face=Arial size=2>1. Redirect the user
to a page that always raises Unauthenticated.
See<BR>manage_zmi_logout.</FONT><BR></SPAN></DIV>
<DIV><SPAN class=668002112-03102006><FONT face=Arial size=2>2. <FONT
size=3><FONT size=2>from AccessControl.SecurityManagement import
noSecurityManager<BR>noSecurityManager()</FONT><BR></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=668002112-03102006><FONT face=Arial size=2>Are there any other
ways out there ?</FONT></SPAN></DIV>
<DIV><SPAN class=668002112-03102006><FONT face=Arial size=2><FONT size=3><FONT
size=2></FONT></FONT></FONT></SPAN> </DIV>
<DIV><SPAN class=668002112-03102006><FONT face=Arial size=2><FONT size=3><FONT
size=2>Regards,<BR>Danny</FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=668002112-03102006><FONT face=Arial size=2><FONT size=3><FONT
size=2></FONT></FONT></FONT></SPAN> </DIV>
<DIV><SPAN class=668002112-03102006><FONT face=Arial size=2><FONT
size=3> </DIV></FONT></FONT></SPAN></BODY></HTML>