Increasing login session time


How can i increase the login page session time

i have a form in side bar & after some time in that place the login page displays

please check the attached image

how can i solve this problem

please help me



It can be done with many ways. If u have an access to the server then u can do it by changing the cofig file of the server. If not u can use ini_set()

ini_set(’session.gc_maxlifetime’, 30*60); //30 min

I have the sidebar with displaying one form , it will appears for 1 to 2 hours after that the login form will displayed on that place