[Zope] Zope Logout Problem
Praveen Kumar
praveen at softprosys.com
Wed Sep 10 06:39:32 EDT 2003
Dear All,
I have been facing problem with Logout. When I click Logout it is
not actually logging out.
I'm calling the following code in the Login Script:
*********LOGIN SCRIPT***************************
<dtml-call "RESPONSE.setCookie('Login_Name',
_.SecurityGetUser().getUserName(), expires='0')">
<dtml-comment>
<dtml-call "RESPONSE.setCookie('user_name',
_.SecurityGetUser().getUserName(), expires='')">
</dtml-comment>
<dtml-if "REQUEST.has_key('Login_Name')">
<dtml-in DateLookup>
<dtml-if Reminder_Lookup_By_Login>
<form><input style="font-size:15;font-weight:bold" type="button"
value="Check Reminders" onClick="JavaScript:PopWindow738401()"></form>
</dtml-if>
</dtml-in>
</dtml-if>
In the Logout Page:
********************LOGOUT SCRIPT*********************************
<dtml-var la_header>
<!-- <dtml-comment> -->
<p>REQUEST:<br>
<dtml-var REQUEST>
<br>
<p>RESPONSE:<br>
<dtml-var RESPONSE>
<br>
<!-- </dtml-comment> -->
<dtml-call "RESPONSE.expireCookie('__ac')">
<dtml-call "RESPONSE.expireCookie('session')">
<dtml-call "RESPONSE.expireCookie('*')">
<dtml-call "RESPONSE.expireCookie('Login_Name')">
<dtml-call "RESPONSE.expireCookie('user_name')">
<!-- <dtml-call "RESPONSE.redirect('/demo/acl_users/LoggedOut')"> -->
<!-- <dtml-comment> -->
<p>REQUEST:<br>
<dtml-var REQUEST>
<br>
<p>RESPONSE:<br>
<dtml-var RESPONSE>
<br>
<!-- </dtml-comment> -->
</body>
</html>
Please suggest me how to solve this problem.
--
Regards
Praveen Kumar,
SoftPro Systems Ltd,
Ph: 91-40-23111806
More information about the Zope
mailing list