To log out all users, you could delete all session files, though you would
be destroying any active sessions. Unfortunately, when you delete a user, I
don't think there is a good way to force logout that user. One option is to
create an _after_delete callback for the auth_user table that creates
Along the same lines, is there a way to log any/everyone out / even
force-expiring cookies for users who have selected the "remember me" login
option?
I asked due to noticing an auth_user record can be deleted but they can
still access the system for functions decorated with @auth.requires_logi
See
http://stackoverflow.com/questions/12218989/get-all-logged-in-users-web2py/12224157#12224157.
Anthony
On Wednesday, September 17, 2014 8:48:22 PM UTC-4, Tito Garrido wrote:
>
> Hi Folks,
>
> Is there a way to list the current logged in users?
>
> Regards,
>
> Tito
>
> --
>
> Linux User #387
3 matches
Mail list logo