You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Sivaswamynatha K <k....@Kavniya.com> on 2008/10/01 16:00:55 UTC

redirecting to last working page

Hi,

If the session expires, the user will be redirected to login page. Once
the user logins again, how to redirect him to the last working page.
Application is built in Struts 1.2.9

Regards,
Siva.K

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: redirecting to last working page

Posted by Lukasz Lenart <lu...@googlemail.com>.
> We are not using ACEGI/Spring security. Is there any way to do this?

It depends how you implemented the login process, more details can help...


Regards
-- 
Lukasz
http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: redirecting to last working page

Posted by SivaK <ks...@yahoo.co.in>.
Thanks for you reply.
We are not using ACEGI/Spring security. Is there any way to do this?


Lukasz Lenart wrote:
> 
>> If the session expires, the user will be redirected to login page. Once
>> the user logins again, how to redirect him to the last working page.
>> Application is built in Struts 1.2.9
> 
> You have to remember the requested page just before redirecting user
> to login page. If you are using ACEGI / Spring Security, there is
> already such mechanism implemented.
> 
> 
> Regards
> -- 
> Lukasz
> http://www.lenart.org.pl/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/redirecting-to-last-working-page-tp19760928p19761973.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: redirecting to last working page

Posted by Lukasz Lenart <lu...@googlemail.com>.
> If the session expires, the user will be redirected to login page. Once
> the user logins again, how to redirect him to the last working page.
> Application is built in Struts 1.2.9

You have to remember the requested page just before redirecting user
to login page. If you are using ACEGI / Spring Security, there is
already such mechanism implemented.


Regards
-- 
Lukasz
http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org