[Zope] Re: response expiresCookie with redirect?

Mark Bucciarelli mark@easymailings.com
Wed, 31 Jul 2002 03:10:01 -0400


On Tuesday 30 July 2002 01:52 pm, Mark Bucciarelli wrote:
> 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

Never mind, this works as expected.  I had a problem elsewhere in my logi=
c.