« Return to Thread: Transfer user to login page on session timeout

Transfer user to login page on session timeout

by omnipresent :: Rate this Message:

Reply to Author | View in Thread

Hello

I am using struts 1

I am working on some legacy code. Have a requirement where the user should
be fwded to the login page after session times out.  Currently there are
100's of action classes and it wont be feasible to touch each one and check
if the session exists.

Can we do something in struts 1 so that all requests go through the initial
action...there I can check for session object..if it does not exist then I
can forward it to the login page.

Thanks for any help!!

 « Return to Thread: Transfer user to login page on session timeout

LightInTheBox - Buy quality products at wholesale price