[Zope] response expiresCookie with redirect?

Mark Bucciarelli mark@easymailings.com
Tue, 30 Jul 2002 13:52:36 -0400


Is it possible to have a python script that does this:

response =3D context.REQUEST.RESPONSE
if someCondition:
    response.expiresCookie('mySitesCookie', path=3D'/')
return response.redirect('aPageTemplate')

The cookie is not getting removed when someCondition is true.

Mark