I've seen this kind of solution before. When a user logs in, you need to write them into a database -- either in memory or disk -- and then do not allow the same user to log in again until the previous session expires. You want to use a session listener for this to detect expired sessions.
Paul 2008/11/30 Dan <[EMAIL PROTECTED]>: > [EMAIL PROTECTED] escribió: >> >> What? Are there solutions that are not web-based? :) >> >> >> >> On Sun, Nov 30, 2008 at 6:11 AM, Paweł Wielgus <[EMAIL PROTECTED]> wrote: >> >> >>> >>> Hi Dani, >>> the only solution i can imagine in this case is to invalidate session >>> from first browser when the same user logs in with the second browser >>> - it would require You to write such bussiness logic to make it work. >>> But then again You cannot (or it will be very hard to do) >>> differentiate if a request comes from first or second tab in ff. >>> So if it's a real problem/requirement You should probably use >>> something other than web based solution. >>> >>> Best greetings, >>> Pawel Wielgus. >>> >>> 2008/11/30, Dani <[EMAIL PROTECTED]>: >>> >>>> >>>> Hi, >>>> >>>> In my web application I have to manage sessions. An user can not login >>>> from multiple browsers (just one session available per user). I have >>>> read that if browser window is cloned (such as a new tab in firefox or >>>> IE) the session is also cloned to this new tab so a user could have two >>>> instances of the application, and that´s what i am trying to avoid. >>>> >>>> I have been playing around with sessions ID but no luck... >>>> >>>> Any suggestions to achieve this? >>>> >>>> Thanks! >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>> For additional commands, e-mail: [EMAIL PROTECTED] >>>> >>>> >>>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >>> > > Thanks for the reply, Pawel. > > I have been googling and found no clear info on how to manage this. I > thought there would be a "standard" method or thoughts since the > implementation of tabs in browsers are relatively "old" (since firefox early > releases >>a built-in tabbed browsing mode added to Mozilla > <http://en.wikipedia.org/wiki/Mozilla_Application_Suite> 0.9.5 in October > 2001 - 7years!!) so I supposed i wouldnt be the first who discovers this > limitation or problem. > Anyway, I think I would not implement anything else since this requirement > is out off my project, but which other solutions do you think would cover > this problem? > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >