Forum Moderators: open

Message Too Old, No Replies

how to push FF not to time out

firefox timing out in executing long processing page

         

phparion

11:48 pm on Feb 4, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



hi

i have a script that inserts above 1000,000 records in the table. it works fine on my online server but when i am executing it on my laptop, which is pretty fast dell xps with 4 gb ram, the firefox is showing time out problems. i even used php set_time_limit(0) to make the script never time out but it is a browser problem. what can i set in firefox menu to make it execute the script without timing out?

thanks

incrediBILL

12:43 am on Feb 8, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



all you need to do is flush something from the server to the browser periodically and the connection will stay open for a really long time, maybe indefinitely.

phparion

12:53 am on Feb 8, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



but that is a work-around not the FF solution. I used about:config and increased the time of request and network timeouts to very big values and then restarted but that does not affect the behavior of browser. i was wondering if there is any FF fix for this since I guided FF not to timeout but still it is timing out.

incrediBILL

1:57 am on Feb 8, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



It's actually not a 'work around' as I write lots of big reports and data exports that work just fine on any browser because I flush the data on a regular basis to keep the connections live and not timing out.

Sorry, don't have a FF specific solution to the problem but my solution is universal for all browsers without requiring any tweaks of the default settings.