This seems reasonable to me.  In fact someone had suggested this in the 
archives some months ago to someone elses query about this same issue.

But when I do this.  The exception is still passed to my error page.

Do you know of anyway to prevent that?

Thanks for the help.

Rick



Jeff Larsen wrote:

> Part of the problem may be that you're grabbing a session object
> that you have stored in your own data structure. Tomcat doesn't
> know anything about your monitor HashMap and is not going to update
> it when it invalidates a timed-out session.  
> 
> Why don't you do this:
> 
>   try {
>     oldSession.invalidate();
>   } catch (IllegalStateException ise) {
>     // do nothing, if it's already invalidated, we're happy
>   }
> 
> Jeff
> 
> 



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to