nwo4life Posted October 3, 2009 Share Posted October 3, 2009 I have been developing an application on my local machine using PHP/MySQL. It works fine on my localhost. However, on the production shared hosting ( PHP Version 5.2.5 / CGI/FastCGI ), it timeouts quiet often. I have noticed that when it times out, I seem to have lost my session and have to re login into the application. I have narrowed it down to the session_start() function call. I am not too sure what is causing this. I have read about similar issues but nothing seems to have resolved my problem. Any helps would be greatly appreciated. Link to comment https://forums.phpfreaks.com/topic/176353-session_start-timeouts/ Share on other sites More sharing options...
lipun4u Posted October 4, 2009 Share Posted October 4, 2009 go throw this link http://kodeyard.blogspot.com/2009/10/session-php.html Link to comment https://forums.phpfreaks.com/topic/176353-session_start-timeouts/#findComment-930068 Share on other sites More sharing options...
nwo4life Posted October 5, 2009 Author Share Posted October 5, 2009 This link is good but all it will do is increase the session timeout value. But what is occurring with me is a page hanging which I have noticed is caused by the session_start(). Link to comment https://forums.phpfreaks.com/topic/176353-session_start-timeouts/#findComment-930375 Share on other sites More sharing options...
redarrow Posted October 5, 2009 Share Posted October 5, 2009 can we see the code please , are you sure it not nothing else doing this... Link to comment https://forums.phpfreaks.com/topic/176353-session_start-timeouts/#findComment-930381 Share on other sites More sharing options...
nwo4life Posted October 5, 2009 Author Share Posted October 5, 2009 It difficult to show you the code as it is an entire application. Can anyone point out reasons why a page would hang? Possibly a list of previous reasons why? It might help me. Has anyone had any issues with using session on a shared hosting account? Link to comment https://forums.phpfreaks.com/topic/176353-session_start-timeouts/#findComment-930706 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.