We carry a userid and a shopping cart in the session thu out the app.
If the user goes to lunch and comes back, we would like to give them sort of
friendly error if their session times out.

At 04:19 PM 6/22/2001 -0400, you wrote:
> > When a Tomcat session times out does it send you to a preset
> > error page?
>
>No. not unless you throw an exception due to dependence on something
>from session.  You could develop an entire webapp without ever using
>the session and despite the fact you never use it it will still be
>instantiated.  For obvious reasons.
>
> > What is the mechanism there?
>
>No mechanism!
>
> > What is the best way to handle timed out users?
>
>Depends.  Do you have a security concern(if so you should be implementing
>Realms of some sort which manage the session timeout for you)?  Are you
>requiring something to exist in the session for certain portions of your
>app? .......  It all depends on what you specs and app requirements state.
>
>
>
>---
>Michael Wentzel
>Software Developer
>Software As We Think - http://www.aswethink.com

Reply via email to