|
PROCEDURE UpdateProgressBar LPARAMETERS PercentComplete, StatusText Server.AddScriptTimeout(10, .T.) ... |
Essentially what this does is it only extends the timeout enough to provide at least 10 more seconds from the time of the call.
FoxWeb Support Team support@foxweb.com email |
PROCEDURE UpdateProgressBar LPARAMETERS PercentComplete, StatusText * IF (SECONDS() - StartTime) + 15 >= Server.ScriptTimeout Server.AddScriptTimeout(10) * ENDIF |
the Result HTML Code :
<script language="JavaScript">progressBar.update(45, 'Generando archivos');</script> <script language="JavaScript">progressBar.update(47, 'Generando archivos');</script> <script language="JavaScript">progressBar.update(48, 'Generando archivos');</script> <script language="JavaScript">progressBar.update(50, 'Generando archivos');</script> <script language="JavaScript">progressBar.update(51, 'Enviando mails 1 a 10 de 287');</script> <script language="JavaScript">progressBar.update(53, 'Enviando mails 11 a 20 de 287');</script> <script language="JavaScript">progressBar.update(55, 'Enviando mails 21 a 30 de 287');</script> <script language="JavaScript">progressBar.update(56, 'Enviando mails 31 a 40 de 287');</script> <script language="JavaScript">progressBar.update(58, 'Enviando mails 41 a 50 de 287');</script> <script language="JavaScript">progressBar.update(60, 'Enviando mails 51 a 60 de 287');</script> <script language="JavaScript">progressBar.update(62, 'Enviando mails 61 a 70 de 287');</script> <script language="JavaScript">progressBar.update(63, 'Enviando mails 71 a 80 de 287');</script> <script language="JavaScript">progressBar.update(65, 'Enviando mails 81 a 90 de 287');</script> <script language="JavaScript">progressBar.update(67, 'Enviando mails 91 a 100 de 287');</script> <script language="JavaScript">progressBar.update(69, 'Enviando mails 101 a 110 de 287');</script> <script language="JavaScript">progressBar.update(70, 'Enviando mails 111 a 120 de 287');</script> <HR><BR> <H3>FoxWeb Message</H3> <P>The FoxWeb Service has returned the following message:</P> <B>FoxWeb Channel Stopped Responding.</B> |
Some idea?