[Zope] newbie:cookie expiry problem

prabuddha ray buddharay at gmail.com
Wed Apr 13 01:59:30 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 didn't work. where am i wrong?
all the files are in same folder

-- 
Share the vision of difference with ME


More information about the Zope mailing list