Prevent Multiple Logins by Same User
Permalink
Hi, concreters.
I'm curious if there is a block/way to program the system to check if any user already has already logged in, and prevent them from logging it from another device. This is a request from a client, so I need to at least find out if this "feature" will be easy to implement or time-consuming, or impossible on version 5.4.2.2.
Seems like I could get a list of sessions, check for the User ID, and not run the login script if the user already has a session... but a little input from a more experienced user would be helpful.
I'll be plumbing the depths of the API to see what I've got at my disposal. Any thoughts?
I'm curious if there is a block/way to program the system to check if any user already has already logged in, and prevent them from logging it from another device. This is a request from a client, so I need to at least find out if this "feature" will be easy to implement or time-consuming, or impossible on version 5.4.2.2.
Seems like I could get a list of sessions, check for the User ID, and not run the login script if the user already has a session... but a little input from a more experienced user would be helpful.
I'll be plumbing the depths of the API to see what I've got at my disposal. Any thoughts?