SPUG: cgi help

Dan Ebert mathin at mathin.com
Wed Apr 4 19:59:46 CDT 2001


I don't know if this would work ... but it might be worth a try.

Turn buffering off with 

$| = 1;

Then print something to the browser

print CGI::header;
print "Processing ...";

so the browser gets something.

Then do the query and print the results when the query is done.

Dan.
-----------------------------------------------------------
Optimists:  the glass is half full.
Pessimists: the glass is half empty.
Engineers:  the glass is twice as big as it needs to be.
-----------------------------------------------------------





On Wed, 4 Apr 2001, Ryan Ames wrote:

> hello all,
> 	I am writing a cgi script that is using oraperl to query the
> database and post the results.  My queries are somewhat on the hefty side
> and my browser keeps timing out.  Is there any way that I can keep this from
> happening?  thanks....
> 
> 
> 
> 
> Ryan Ames
> E-valuations.com                          ryan at e-valuations.com
> 120 Lakeside Ave, Suite 330      phone:  206.695.6351
> Seattle, WA 98122                         fax:  206.328.7091
> 
> 
> 
>  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>      POST TO: spug-list at pm.org       PROBLEMS: owner-spug-list at pm.org
>       Subscriptions; Email to majordomo at pm.org:  ACTION  LIST  EMAIL
>   Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
>  For daily traffic, use spug-list for LIST ;  for weekly, spug-list-digest
>   Seattle Perl Users Group (SPUG) Home Page: http://www.halcyon.com/spug/
> 
> 
> 


 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     POST TO: spug-list at pm.org       PROBLEMS: owner-spug-list at pm.org
      Subscriptions; Email to majordomo at pm.org:  ACTION  LIST  EMAIL
  Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
 For daily traffic, use spug-list for LIST ;  for weekly, spug-list-digest
  Seattle Perl Users Group (SPUG) Home Page: http://www.halcyon.com/spug/





More information about the spug-list mailing list