On Mon, Jun 4, 2012 at 5:57 PM, rene7705 <rene7...@gmail.com> wrote:
> I've got a piece of code that builds up a multi-meg test array for my
> opensourced http://mediabeez.ws/products/htmlMicroscope var_dump()
> improvement, and when I run it for longer than about 20 minutes, the
> browser just calls it quits.. :( Firefox, and chrome.
> I'd like to do this with a browser call, if all else fails I suppose I
> can run the generation of the test array from the commandline, but I
> prefer calling from the browser..
> So, I'm doing ob_start(), then start the main loop which does echo
> '.'; ob_flush(); flush();.
> I've got my KeepAliveTime set to 25 seconds, as per
> And I'm calling this from my browser to the domain name that points
> back to the machine I run the browser on, latest wampserver on windows
> Calling via localhost doesn't work somehow.
> Is there anything obvious I've missed?
Just to be sure, have you checked the Apache error logs for anything
obvious? (eg. out of memory?)
In case the browser closes the connection, you could use
ignore_user_abort  to be sure the script continues, though the
browser won't receive the result.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php