maya, Once a user is logged in session variables are set ....and your user interface should not display login option...but if you hit back button on browser you will see login option in that case use saveToken now to allow duplicate form submission
Back buttons display thing because form contains it you need to reset it Regards -----Original Message----- From: Maya menon [mailto:[EMAIL PROTECTED] Sent: 15 March 2007 16:43 To: user@struts.apache.org Subject: Session Management All, I have couple of questions while designing a web app using struts. My application uses Httpsession variables. 1. How do we handle a user from opening duplicate sessions ? Like if a user is already logged in, if he/she tries to login again, system should mention that user is already logegd in. How do we do that ? 2. Also, back buttons. Back buttons shoudlnt display anything [like no data] should appear when user clicks back button How to handle these two situations ? Need suggestions. Thanks, Maya --------------------------------- Don't be flakey. Get Yahoo! Mail for Mobile and always stay connected to friends. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]