Hi Notice on some pages that require passwords, if you have it open for long in the browser it take you back to the login page.

So basically I login and the I go to page1.php but I have this page open in the browser for sometime, then when I click on a link on that page, it does not go to that link,but it takes me back to the login page,is there a way to set session time out

Please advise