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

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.
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