[Zope] Logout User
Paul Erickson
erickson@kaivo.com
Wed, 04 Sep 2002 16:05:00 -0600
Is that really the cookie that you want to expire? (look at the cookies
in your browser)
I think that the cookie to expire is '__ac'.
-Paul
Borislav wrote:
> I found this method to logout a user in Zope but apparently it does
> not work:
>
> <dtml-call "REQUEST['RESPONSE'].expireCookie('__ac_czo', path='/')">
>
> The next page containing <b tal:content="user/getUserName">User Name</b>
> still shows the old user.
>
> What is the Zope API to do this from a Python script?
> Any suggestions why this does not work?
>
> Thanks in advance.
>
> --Borislav
>