Hmm ... interesting workaround.  Yeah, I suppose that would work.  Thanks
for the tip. :)

So I take it this is confirmation though that I am correct?  That you can't
have a cookie that *both* expires by a certain time and will expire when the
browser is terminated?

Thanks.
Neal

-----Original Message-----
From: Jon Eaves [mailto:jon@;eaves.org]
Sent: Wednesday, November 13, 2002 11:22 PM
To: Tomcat Users List
Subject: Re: Session Cookie


Hiya Neal,

You could use 2 cookies.

TEN_MINUTE_COOKIE and TRANSIENT_COOKIE

and then check for the existence of both, rather than just checking
for one.

That should do the trick.

Cheers,
        -- jon

neal wrote:

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

[ snip ]

--
Jon Eaves <[EMAIL PROTECTED]>
http://www.eaves.org/jon/


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


--
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