How would you enforce the logout?
For instance I want to logout a user that is logged in at any other
place (e.g. session) using the same account.
On Apr 17, 7:56 pm, jacmoe wrote:
> Yeah, you're right.
> The beforeFilter could update a user last action session variable with
> a timestamp.
> I wo
Yeah, you're right.
The beforeFilter could update a user last action session variable with
a timestamp.
I would find it odd if someone didn't make this a component or a
plugin already?
Yes:
http://bakery.cakephp.org/articles/view/check-member-user-online-or-offline-status
http://www.webtechnick.co
Hi,
Just a note on Jacob's response. If you track a logout time that would
assume a user always logs out before leaving the site and from what I
have seen this is definately not the case.
What I would do is store a last access time ( the last time the user
opened a page ) with this data you can se
If you keep track of login/logout time, you can just pick a list of
users with a login time newer than their logout time..
There's probably more intelligent ways of doing this, but I can't
think of any right now. :)
Cheers
Jacob
On Apr 17, 6:07 am, bondo wrote:
> Is it possible to get a list of
Is it possible to get a list of users that are currently logged into
the system? I'd like to be able to log them out if I'm performing
maintenance on the system or even just the ability to log a single
user out for any reason.
Check out the new CakePHP Questions site http://cakeqs.org and help oth