wordpress sessions

Limit only one session per user at a time in WordPress

Limit only one session per user at a time in WordPress

There are many instances where you need to limit or restrict user from sharing his access to multiple people or places. For that we can add following code which will make sure “subscriber” role users will have only one session at a time. How this works When a subscriber user logs in to his account…

Read More