Welcome Guest, Not a member yet? Register   Sign In
Single User Access
#3

(07-03-2015, 10:18 AM)skunkbad Wrote: Yes, and this is a feature of Community Auth. If you have a user and want to only allow one login, then when he/she logs in you store the session ID in that user's record. Every page load you see if the session ID matches the session ID in the user's record. If the session ID is updated in the session class, you update the session ID in the user's record. It's really pretty simple.

Let me see if I understood, So, If I implement this my user will be unable to log with the same user in diferent places... Am I correct?
Reply


Messages In This Thread
Single User Access - by JoelPiccoli - 07-03-2015, 05:39 AM
RE: Single User Access - by skunkbad - 07-03-2015, 10:18 AM
RE: Single User Access - by JoelPiccoli - 07-03-2015, 10:28 AM
RE: Single User Access - by skunkbad - 07-03-2015, 03:35 PM
RE: Single User Access - by Blair2004 - 07-05-2015, 03:08 PM



Theme © iAndrew 2016 - Forum software by © MyBB