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. -- -------------------------------------------------------------------- Dr Zahid Malik Tel: +44 (0) 20 7594 6336 Research Fellow Fax: +44 (0) 20 7581 4419 Dept. of Electrical Eng. Email: z.malik-NOSPAM-@-PLEASE-ic.ac.uk Imperial College http://infoeng.ee.ic.ac.uk/~malikz Exhibition Road London SW7 2BT
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.
participants (2)
-
Casey Duncan -
Zahid Malik