Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
I have tried every way I can think of to achieve this but in the end I just cannot come to a conclusion.
I am trying to timeout a user(s) login if they have been inactive for a specified amount of time.
For example, if a user has been logged in for 15 minutes I want to log them out due to inactivity.
As it stands, users log in, and are assigned a session. I want to force the user to re-login if they have been inactive for 15 minutes.
I have tried endlessly but still can't get it to work.
Can anybody suggest a solution for this?
Thank you in advance.