[Zope] newbie:cookie expiry problem

prabuddha ray buddharay at gmail.com
Tue Apr 12 07:44:44 EDT 2005


This may be very silly plz help
I gave this cookie expiry statement in a python script:


RESPONSE.expireCookie('login')

return context.REQUEST.RESPONSE.redirect('index_html')

but when i checked the cookie values in request page, it wasn't removed. 
the last redirect still worked.

when i put an if like this :
if (RESPONSE.expireCookie('login'))

return context.REQUEST.RESPONSE.redirect('index_html')

redirect dont work.

where am i wrong.
-- 
Share the vision of difference with ME


More information about the Zope mailing list