The back button gets you into trouble always.... To get a true logout I had to use a bit of javascript to close the browser itself. )-: On 11 Sep 2003, Praveen Kumar wrote:
Dear Dieter Maurer,
Thank you so much for your suggestion. It is Logging out but once I press the back button in the browser it is going to the authenticated page. After Logging out I'm redirecting the page to the login again. Users logs in as another user it is going as an another user only, but pressing the back button only giving the problem. Is there any solution for this?
Thanks & Regards Praveen On Thu, 2003-09-11 at 02:16, Dieter Maurer wrote: Praveen Kumar wrote at 2003-9-10 11:17 +0530: > ... > <dtml-call "RESPONSE.expireCookie('__ac')">
Cookie expiration is only effective if done with the same "name", "path" and "domain" parameters as the cookie definition.
Almost surely, the cookie definition used:
setCookie('__ac',...,path='/')
Therefore, you must use
expireCookie('__ac',path='/')
to delete it again.
Dieter -- Regards Praveen Kumar, SoftPro Systems Ltd, Ph: 91-40-23111806
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )