View Single Post

  #2 (permalink)  
Old 12-04-2006
larry@portcommodore.com
 
Posts: n/a
Default Re: logging in twice with one user account


gehegerade...@gmail.com wrote:
> Is there a way to prevent one user-account from logging in twice on the
> same system when using sessions?
>

[snip]
>
> Any tips, or links to articles about this?
>
> Thanks!


You could have a 'last activity' timestamp in there (you have to do a
lot of updating on your session tracking DB, such as for every DB
access) and then if it has been a while since lass activity, grant
access.

Or you could just put up an "already logged in" mesage with a reminder
to log out properly the next time (BOFH solution)

Reply With Quote