[Zope] cookie help
Small Business Services
toolkit at magma.ca
Thu May 6 10:41:51 EDT 2004
From: <schandra at csee.wvu.edu>
> For logout, I use the following statements for cookie expiration bu tit
> deosnt work. Can you see whats wrong?
>
> <dtml-call expr="RESPONSE.expireCookie('__ac',path='/')">
> <dtml-call expr="SESSION.invalidate()">
To expire a cookie I overwrite the cookie with 'invalid' data. The routines
that check the cookie, check the cookie contents and if the data is not
valid, handle the user accordingly. This should solve your problem.
Jonathan
More information about the Zope
mailing list