Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: Avoiding requests when session is expired

Veit Guna

2006-12-14

Replies:

Hi.

I created a Filter that "captures" an invalid session before any other
Filter in my application gets invoked. Then I redirect to a "Session
Expired" page. Works for me.

regards,
Veit


Asensio, Rodrigo schrieb:
> Hi guys, is there any way in tomcat to capture or be notified that a
> user whose session is expired is doing a request ?
> like redirecting the "invalid request" to a new url ??
>
>
> regards
>
> -------------------------------------------------------------------
> To err is human, but to really screw up requires the root password.
> -------------------------------------------------------------------
> Rodrigo Asensio
> Fuel Management Services
> Gilbarco Veeder Root
> phone: +1 336 547 5023
> email: rodrigo.asensio@(protected)
> <mailto:rodrigo.asensio@(protected)>
>
>
>
> (~'~~'~~'~~)
>  |     |
>  |     |
>  |     ~|~
>  |-------())
>  (     _)
>  |     |
>  |     |
>  ''..   |
>  |'..'---_/\
> /   ''---|| /\
> /   \   \\/\/
> | \ /   \_/
> |  \/\\   | \
>
>
> This message (including any attachments) contains confidential
> and/or proprietary information intended only for the addressee.
> Any unauthorized disclosure, copying, distribution or reliance on
> the contents of this information is strictly prohibited and may
> constitute a violation of law. If you are not the intended
> recipient, please notify the sender immediately by responding to
> this e-mail, and delete the message from your system. If you
> have any questions about this e-mail please notify the sender
> immediately.
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@(protected)
> To unsubscribe, e-mail: users-unsubscribe@(protected)
> For additional commands, e-mail: users-help@(protected)
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.