Try to imagine following....

User:
fills in a form to start the report
presses send button

Server:
starts the report
outputs the redirection to another script

Client:
requests the new script

Server (new script):
the script contains http meta refresh tag (e.g. 60 sec)
the script checks if the report is finished
if not returns 'please wait ...' message
if is finished redirects to the finished report

You have to be able to run a report from a script as external application
without waiting for finishing.
Because the connection (server-client) cannot be closed while the script is
running (I have never contrived to do it).

-- Petr Smejkal
-- European Data Administrator
-- Tesco / EuroIT / Business Systems
-- Tesco HO Letnany, Veselska 636, 190 00 Praha 9
-- Office: +420 - 2 - 840 14 639
-- Mobile phone: +420 - 724 - 003754


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf
> Of j.meijers
> Sent: Wednesday, February 21, 2001 1:16 PM
> To: [EMAIL PROTECTED]
> Subject: Preventing Browser-timeout
>
>
> Hello to all you Perl-lovers,
>
> We have the following situation:
> There is some kind of reporting-tool that generates html-files.
> Users can use their browsers to query a database and populate
> reports. The problem is is that some reports can last up to
> 20 minutes to output the html-source. So if you use IE after a
> minute or 5 the browser generates a time-out error....
>
> Is it possible to use Perl to write a server-side script to
> keep track of all clients connected to the server and sending
> them some data-packets to keep the connection alive ?
>
> Or is there some other way to keep the connection alive ?
>
>
> TIA,
>
> Jorn
>
>
>
>
>

_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

Reply via email to