it is possible. when a user first logs in, store a uuid in the session and write it in the database (in a new custom field in the auth_user table). When a request arrives if the uuid in the session does not match the uuid in the database call auth.logout()
On Tuesday, 6 March 2018 14:59:31 UTC-6, Manuele wrote: > > Hi! > > Is there a way not to let users to be connected to the application with > diffrerent session at the same time? > > We are thinking of way how to prevent and limit the account sharing so > even suggestion on how to take care of devices used for connections > would be appreciated. > > Best regards > > Manuele > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.