runnerjp Posted May 27, 2008 Share Posted May 27, 2008 hey guys im on a hosting account so i cant chnage my php.ini file but ever 60 min my sessions time out... is there away i can stop this from happening Link to comment https://forums.phpfreaks.com/topic/107429-session-timeout/ Share on other sites More sharing options...
kev wood Posted May 27, 2008 Share Posted May 27, 2008 i have had issues with this before try this set_time_limit(0); Link to comment https://forums.phpfreaks.com/topic/107429-session-timeout/#findComment-550682 Share on other sites More sharing options...
runnerjp Posted May 27, 2008 Author Share Posted May 27, 2008 where would i put the code tho? Link to comment https://forums.phpfreaks.com/topic/107429-session-timeout/#findComment-550687 Share on other sites More sharing options...
runnerjp Posted May 27, 2008 Author Share Posted May 27, 2008 i should explain i have a members script so login ect Link to comment https://forums.phpfreaks.com/topic/107429-session-timeout/#findComment-550692 Share on other sites More sharing options...
kev wood Posted May 27, 2008 Share Posted May 27, 2008 put it in at the top of your scripts it should be placed on anypage that is having the time out issues. Link to comment https://forums.phpfreaks.com/topic/107429-session-timeout/#findComment-550732 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.