Back to index

plone3  3.1.7
logout.py
Go to the documentation of this file.
00001 ## Script (Python) "logout"
00002 ##title=Logout handler
00003 ##parameters=
00004 REQUEST = context.REQUEST
00005 if REQUEST.has_key('portal_skin'):
00006    context.portal_skins.clearSkinCookie()
00007 REQUEST.RESPONSE.expireCookie('__ac', path='/')
00008 return REQUEST.RESPONSE.redirect(REQUEST.URL1+'/logged_out')