Welcome Guest, Not a member yet? Register   Sign In
Session persistence problems
#14

[eluser]WanWizard[/eluser]
Very difficult to archieve, since you're working in a stateless environment.

Some have modified the session library to include a userid field in the session table. Others use a regex to check a session with specific information in the session's userdata.
But that still doesn't give you any clue to what the users actual state is. If you're session expiry is set to 2 hours, and I close the browser on my PC, walk to another PC, and try to logon, my previous session is still valid (and has me as logged in), but for me I'm not logged in anywhere. It's very confusing for users.

Unless you have a very specific reason to want this, why bother how many times someone is logged in?
You have to deal with concurrency anyway. I can also open a second window in my current browser, so I have access via two windows. Why should that be any different from me accessing the site via both FF and IE from the same PC at the same time?


Messages In This Thread
Session persistence problems - by El Forum - 12-30-2008, 11:17 AM
Session persistence problems - by El Forum - 12-30-2008, 11:19 AM
Session persistence problems - by El Forum - 12-30-2008, 02:21 PM
Session persistence problems - by El Forum - 01-02-2009, 01:18 PM
Session persistence problems - by El Forum - 01-05-2009, 05:04 AM
Session persistence problems - by El Forum - 01-07-2009, 10:23 PM
Session persistence problems - by El Forum - 05-15-2010, 02:37 AM
Session persistence problems - by El Forum - 10-11-2010, 10:41 AM
Session persistence problems - by El Forum - 10-11-2010, 12:05 PM
Session persistence problems - by El Forum - 10-11-2010, 12:55 PM
Session persistence problems - by El Forum - 10-14-2010, 07:37 AM
Session persistence problems - by El Forum - 10-14-2010, 07:52 AM
Session persistence problems - by El Forum - 10-14-2010, 08:06 AM
Session persistence problems - by El Forum - 10-14-2010, 08:17 AM
Session persistence problems - by El Forum - 10-14-2010, 08:22 AM
Session persistence problems - by El Forum - 10-14-2010, 12:22 PM
Session persistence problems - by El Forum - 10-14-2010, 02:26 PM
Session persistence problems - by El Forum - 10-14-2010, 04:20 PM
Session persistence problems - by El Forum - 10-15-2010, 12:53 AM



Theme © iAndrew 2016 - Forum software by © MyBB