What If Session Expires While User Is Still On The Website
Suppose that there are 5 minutes left for the session to expire when user enters the website.Every action that user will make after 5 minutes will be rejected by server if it requires you to login and naturally have a session.
Isnt it a bad experience for users that they think they logged in 5 minutes ago but now the actions like liking,commenting,creating is rejected because you now have no session.
Is there a way to solve this or do i have to just throw the user back into the login page again?