Telling a browser to keep a connection alive
ted leslie
tleslie-RBVUpeUoHUc at public.gmane.org
Mon Jan 2 07:12:21 UTC 2006
Only thing i can think of, is since you are delivering sets of data every 30 seconds,
that you could "selectively meter" out the data, in a sence, intentionally holding back
some data from the "last batch" and trickle it to keep the browser from timing out.
You might also want to consider using xmlhttp (ajax) it would be a lot cleaner solution.
-tl
On Mon, 02 Jan 2006 01:41:59 -0500
Madison Kelly <linux-5ZoueyuiTZhBDgjK7y7TUQ at public.gmane.org> wrote:
> Hi all,
>
> Does anyone know of a way to tell a web browser to not kill a
> connection (to a cgi script) that takes a certain period of time to respond?
>
> The reason I ask is that my perl program tries to spit out data to
> the browser every 30 seconds during a big job to keep the connection
> alive (I turn off buffering) but sometimes an external program I call
> holds things up for too long and the connection dies anyway.
>
> I know that I can increase the time-out on the webserver but from
> what I can tell the browser generally ends things.
>
> I'm worried that this option won't exist in browsers for valid
> security reasons...
>
> Thanks in advance!
>
> Madison
>
> --
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Madison Kelly (Digimer)
> TLE-BU; The Linux Experience, Back Up
> Main Project Page: http://tle-bu.org
> Community Forum: http://forum.tle-bu.org
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> --
> The Toronto Linux Users Group. Meetings: http://tlug.ss.org
> TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
>
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list