[Zope] exUserFolder and logout

Casey Duncan casey@zope.com
Thu, 11 Apr 2002 10:23:22 -0600


If you know the cookie names, you could just send the user to a python 
script that expires them such as:

response = context.REQUEST.RESPONSE
response.expireCookie('__ac_name', path='/')
response.expireCookie('__ac_passwd', path='/')
response.redirect(context.REQUEST.HTTP_REFERER)

hth,

Casey

Zahid Malik wrote:
> Hi,
> 
> I'm trying to implement a user logout with exUserFolder (XUF) has anyone
> managed to this? Basically what I want is for the cookie authenticated
> user to click on a link and then be logged out (sent to the docLogout
> page).
> 
> Many thanks,
> 
> Zahid
> 
> ps sorry for resending this query but I didn't see any response to my
> earlier one.
>