[Zope] How to expire cookie in DTML

Philip Aylesworth zopelist@regalint.com
Tue, 27 Apr 1999 09:51:05 -0400


Philip Aylesworth wrote:
> 
I messed around with this some more. Netscape 4.51 Mac and 4.07 WinNT do
the same thing. My DTML seems to send the expire as described below. Out
of desperation I tried MSIE 4.01 Mac and it worked perfectly. Aack! Has
anyone else noticed this with Netscape? Does anyone have a workaround? 

I have a building full of Netscape, which I couldn't change if I wanted
to because we have a two groups of SGIs. I want to expire cookies set by
UserDB to logoff users without quiting Netscape. (Quiting Netscape DOES
work BTW).

Any help would be apprecieated. This seems like a Netscape bug though :(

Phil A.

> Well, as soon as you ask a question you find it in the docs!
> 
> So <!--#call "RESPONSE.expireCookie('__ac')" --> should work. It trys,
> my browser gives a message that it is getting a cookie __ac='deleted'
> with an old date. But the cookie is still set and I can still go to
> private pages!
> 
> Any ideas?
> 
> Phil  A.
> 
> Philip Aylesworth wrote:
> >
> > How can I expire a cookie in DTML?
> >
> > I think I can figure out how to do it in an external but it would be
> > more convenient to do it in DTML.
> >
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
> 
> (For developer-specific issues, use the companion list,
> zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )