This topic is locked

PHPRunner Time-Out Issue

6/1/2009 12:27:53 PM
PHPRunner General questions
J
jkeagle13 author

Hello,
We have a system where individuals have to fill out a form that they then save. This form consists of 5 rich-text boxes that require lengthy narratives to be entered. In a best case scenario it can take 30 minutes to fill out. In a worst-case scenario it can take two hours to fill out an evaluation.
We have users reporting that when they click "SAVE" they get a time-out error and all of the data is lost.
I followed the steps below and am still getting sporadic emails from individuals stating that their data has been lost due to a time-out. Any advice?
**

You can change max_execution_time variable value in php.ini.

You can also use set_time_limit() function in your code to override default value.
More info: http://us.php.net/set_time_limit

**
I added the set_time_limit() in the dbcommon.php but it seems to have been to no avail. Is there a different file I have to add it to as well? Are there additional changes I can make in order to try and avoid this time-out issue?
Thank you,

Joseph Irvine

J
jkeagle13 author 6/1/2009

Hello,
Questions I am tossing back and forth as I try to solve this issue:
What happens if the script can't find a valid session when it executes session_start() during the script execution of the form submittal - would it go to the logon screen, or would it display this timeout message?
Does PHPrunner use session cookies, or server-side session management?
We are wondering if this is perhaps an isolated Internet Explorer issue. Could this be the case?
Thanks,

Joseph Irvine

Sergey Kornilov admin 6/1/2009

Answered to your personal email.

I
inquest2c 6/29/2009

Answered to your personal email.


Can you also send me your response? I am in the midst of dealing with sessions and timeout issues, and the answer to this question will be helpful!
Thanks!

J
Jane 7/1/2009

Hi,
here is the answer:

You can change max_execution_time variable value in php.ini.

You can also use set_time_limit() function in your code to override default value.
More info: http://us.php.net/set_time_limit