Quantcast
Channel: CodeIgniter Forums - All Forums
Viewing all articles
Browse latest Browse all 14348

Counting users logins on separate devices

$
0
0
I have a an application like many others where users are able to login to their account.
I have sessions stored in the database and everything is working smoothly.

I realized that how the sessions work by default, under one user account, that user can technically log in to their account from many locations or devices at the same time. I know this because I can provide support by logging in as the user while they are logged in somewhere else.

Knowing this, I was looking to figure a way out to monetize this by limiting this login count somehow and if a user wanted to log in with more than X amount of different locations on the same username/password account they would have to pay. Does anybody know how this would be possible?

Viewing all articles
Browse latest Browse all 14348

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>