This question already has an answer here:
How to achieve to keep alive the session for long time.
Example: If I logged into a page and after sometime(say 5hrs) the session is getting closed automatically. How to make it alive until I press logout button.
</div>