correcting a typo i made retrieve the previous session by *userid* On Mon, Oct 3, 2011 at 7:54 PM, vineet semwal <[email protected]> wrote: > you can store sessionid corresponding to a particular user , > if he tries to login from different browser,you can retrieve the > previous session by session id > kill the old session when the user logs in from different browser... > > 1) sessionid=findsessionbyuserid() > 2)application.sessionUnbound(sessionid) > > On Mon, Oct 3, 2011 at 7:30 PM, [email protected] <[email protected]> wrote: >> Please provide your advice about what is the easiest way to identify the >> second time user login for same user. >> >> User login in one machine and one session is created. >> User go to another machine and login again. The system create a another >> session for the same user and there are two sessions associated with the >> user. >> >> What is the best way to identify the second time login for this user and >> kill the first session? The application has Wicket Page and Ajax page or >> link also. >> >> >> Thanks in advance. >> >> >> >> -- >> View this message in context: >> http://apache-wicket.1842946.n4.nabble.com/What-is-the-right-way-to-identify-the-second-login-for-the-same-user-tp3867590p3867590.html >> Sent from the Users forum mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > > > -- > thank you, > > regards, > Vineet Semwal >
-- thank you, regards, Vineet Semwal --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
