Is it possible to set a cookie at does not last any longer that 10 minutes
*and* will terminate when the browser is closed?

If I use setMaxAge() it will accomplish the first desired affect but will
then be persistent per my understanding which means it will still be there
when the user returns.  So it seems to be one or the other.

I don't want to use the session object because I do not want to tie the user
to a specific machine. I don't want to have to worry about sticky-IP issues
when scaling beyond a single server.

Anyone know a solution?  Specically, how to get a cookie to simultaneously
(a) expire after 10 minutes, and (b) terminate when browser is closed?

Thanks!
Neal


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

Reply via email to