[Zope] response expiresCookie with redirect?
Dieter Maurer
dieter@handshake.de
Wed, 31 Jul 2002 23:36:46 +0200
Mark Bucciarelli writes:
> Is it possible to have a python script that does this:
>
> response = context.REQUEST.RESPONSE
> if someCondition:
> response.expiresCookie('mySitesCookie', path='/')
> return response.redirect('aPageTemplate')
This should work.
Are you sure, the cookie is set with "path='/'"?
"expiresCookie" must be called with the exact path "setCookie"
has been called.
Dieter