Welcome Guest, Not a member yet? Register   Sign In
How to awoid admin collision in CMS?
#3

[eluser]WanWizard[/eluser]
This is the way ExiteCMS does it.

It also stores an expiry timestamp, which is equal to the session expire timestamp. As long as the session is valid, we consider the user logged in.
Queries on the 'online' table exlude expired results, expired records are periodically deleted in the same way the session library does it.

This approach has a risk. As the timeout is configurable, an administrator could set the timeout to 1 month, login, kill the browser, and go on an extended vacation. And all the time all other administrators are locked out.

I think you have to ask yourself what it is that you are trying to protect other admins against, i.e. why can't you allow simultanous logins? A web application should support multi-user access, collisions should be dealt with in every screen...


Messages In This Thread
How to awoid admin collision in CMS? - by El Forum - 06-15-2010, 09:04 AM
How to awoid admin collision in CMS? - by El Forum - 06-15-2010, 10:07 AM
How to awoid admin collision in CMS? - by El Forum - 06-15-2010, 11:10 AM
How to awoid admin collision in CMS? - by El Forum - 06-16-2010, 07:00 AM
How to awoid admin collision in CMS? - by El Forum - 06-16-2010, 07:21 AM
How to awoid admin collision in CMS? - by El Forum - 06-16-2010, 08:26 AM
How to awoid admin collision in CMS? - by El Forum - 06-17-2010, 03:16 AM



Theme © iAndrew 2016 - Forum software by © MyBB