I do not know your use case, but if you care only about authentication
information in session, you can use a cookie to store some encripted
information, and every time session expires use cookie to reauthenticate
user, and recreate the session. You may try to apply this pattern to
other cases.
if session present then
get info from session
else
if cookie present then
create new session data based on cookie
else
display login form
create new session based on login form
end
end
Andrew Pliszka
James Sherwood wrote:
Hello,
I am trying to make the session in my java(Tapestry) project only
expire when the browser is closed.
Any hints on how to do this?
Thanks,
James
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]