tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralph Einfeldt" <ralph.einfe...@uptime-isc.de>
Subject AW: Cookies
Date Wed, 19 Jun 2002 12:10:45 GMT
Have a look at Cookie.setMaxAge();

Just add a Cookie with setMaxAge(0) or setMaxAge(-1) 
to the response if the user clicks the logout link.

> -----Urspr√ľngliche Nachricht-----
> Von: Matthew Oatham [mailto:Matthew.Oatham@AssetHouse.com]
> Gesendet: Mittwoch, 19. Juni 2002 13:49
> An: 'tomcat-user@jakarta.apache.org'
> Betreff: Cookies
>  
> I want to give the user an option to "log off" which ideally 
> will remove the persistent cookie from the client i.e. 
> delete the cookie file on the client.
>

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message