From what I thought I understood from sessions, this should be the case:
- session times out based on what is set in the php.ini, lets say 30 minutes
- if a user continues to browse and we update, lets say $_SESSION['last_activity']=time();, then the session will be active for 30 minutes from the last activity
But what I am seeing is:
- user logs in and session is started
- user continues to browse
- after 30 minutes, user is kicked off and annoyed, has to login again
Is this a server misconfiguration and why it is being destroyed even though the user is remaining active?
Thanks for the help!