File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Session Timeout redirect to login page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Session Timeout redirect to login page" Watch "Session Timeout redirect to login page" New topic
Author

Session Timeout redirect to login page

Justin Howard
Ranch Hand

Joined: Feb 19, 2009
Posts: 162
Hi All,

How can I redirect all the pages (even the one opened in different tabs) to the login page after the session has timed out.

Thanks
Sebastian Janisch
Ranch Hand

Joined: Feb 23, 2009
Posts: 1183
You could use a filter that checks for validity of the session and hence delegates to the executing servlet or interrupts the workflow and forwards to the login page.


JDBCSupport - An easy to use, light-weight JDBC framework -
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Session Timeout redirect to login page