I want to build in a concept that will allow users to chose for how long they want to stay logged in. I give them two option to chose from. Remember Me > 30 Days and For 1 hour. If they are inactive I auto log them out.
I m a newbie in PHP, I found this http://stackoverflow.com/questions/20516969/automatic-logout-after-15-minutes-of-inactive-in-php
Will it work on my concept?