tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: handling expired sessions in Tomcat
Date Mon, 05 Nov 2012 19:52:37 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Miguel,

On 11/5/12 9:51 AM, Miguel Gonzalez wrote:
> 
> 
>>> Dear all,
>>> 
>>> When an user is logged on our system (a Struts app), when the 
>>> session expires, the user gets a java error report.
> 
>> What does the user see when this happens?  Is there a stack
>> trace? If so, can you include the stack trace here.
> 
> 
> Yes, they get a stack trace. I would have to dig in old emails to 
> figure out the content of the stack trace since this has happened
> in the past.

They get a stack trace from your software, not from Tomcat. If you want
to be able to safely recover from a session timeout, it's up to your
webapp to do that kind of thing.

> Is there any way to handle this by Tomcat or should be done 
> programmatically managing the exception?

That depends upon what exception you're talking about.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlCYGQQACgkQ9CaO5/Lv0PBaTgCeJjQdDTdV2QdBj8dMJGDFrTM9
Iq0An3RHrF9LZR3f0PnnLEO8ZurR6HTk
=MQ/Y
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message