Hello Paul, Thanks for the prompt response, I guess that is a right way to do, but plz suggest me how can i redirect my control to the login page. Can u plz get me the syntax, the interceptor thing is ready all i need to do is to redirect if session is not there...
Thanks Baran Paweł Wielgus wrote: > > Hi Baran, > You can check for this in interceptor in struts2 or in mainservlet in > struts1. > > Best greeitings, > Paweł Wielgus. > > 2009/4/16 Baran <baran.k...@gmail.com>: >> >> Hello All, >> >> I have this common scenario of handling sessions. The scenario is: >> >> 1. To check session on the jsp side when ever a page is loaded. This is >> fairly simple and can be done without much hassle. >> >> 2. Lets say the page is left unattended and the session expires but the >> user >> is still on that authenticated page. Not the thing is how can I make sure >> that any such request is not processed and is redirected to the login >> page. >> I can check the session availability but how can I redirect the control >> to >> login page. >> >> One more thing, I am working on YUI + Ajax based application, so >> basically >> all the action requests are via javascript. >> >> Any help would be appreciated. >> >> Baran >> -- >> View this message in context: >> http://www.nabble.com/Session-Management-tp23074591p23074591.html >> Sent from the Struts - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >> For additional commands, e-mail: user-h...@struts.apache.org >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > -- View this message in context: http://www.nabble.com/Session-Management-tp23074591p23074831.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org