I have a time in mins for each one user in his profile, the user should automatically be logged out after that time.
Example:
User 1: Auto logout time => 60 Mins
User 2: Auto logout time => 120 Mins
User 3: Auto logout time => 150 Mins
So after login, user 1 should log out after 60 mins of login, user 2 after 120 mins and user 3 after 150 mins. Does anyone have any idea that how to achieve this?
I am thinking to change the session lifetime from the session.php file for every login request, but don't know it will work or Not.
Thanks in Advance.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire