Browser Timeouts with CGIC/Apache.

C

chad.vice

I have a program built with Tom Boutell's CGIC library that generates
reporting output on-the-fly. At times this generation can take a long
time, and timeouts occur while users wait for the page results to be
displayed.

To alleviate this problem, I'd like to display a notification to the
user that "the report will be e-mailed upon completion" and then keep
the CGI alive to finish processing and e-mailing.

In my code I manually closed the cgiOut handle and tested that the code
does in fact live on. However, as soon as I open a cursor for database
work, it appears that the CGI stops executing -- I have tested this by
placing printf debug statements throughout the code.

I would appreciate any suggestions as to how I might accomplish this
with a fork or by some other means.

Thanks in advance,
Chad Vice


--
PLEASE NOTE: comp.infosystems.www.authoring.cgi is a
SELF-MODERATED newsgroup. aa.net and boutell.com are
NOT the originators of the articles and are NOT responsible
for their content.

HOW TO POST to comp.infosystems.www.authoring.cgi:
http://www.thinkspot.net/ciwac/howtopost.html
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,190
Members
46,736
Latest member
zacharyharris

Latest Threads

Top