PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: John_Erjavec at cargill dot com
Subject: Re: Temporary Response
Date: Jan 19 1999 8:37PM

     One way to do this would be with a non-parsed-header script.  You 
     send with the output a full header, and a brief message.  When the 
     query is done, you send the rest of the message, and finish off the 
     output.  Look for nph CGI scripts for more info on this.
     
     -JEV
     John Erjavec V
     Cargill, Inc.
     john_erjavec@cargill.com


______________________________ Reply Separator _________________________________
Subject: Temporary Response
Author:  jrisley (jrisley@nex-web4.corp.fedex.com) at mtka-unix-mime
Date:    1/14/99 12:59 PM


All,
     
Sometimes I have to execute a long runnig Sybase stored proc (2-5 mins) via 
SybPerl via cgi scripting.
     
Is there a way to send a temporary response back to an HTML browser?
     
Example:
     
1. User requests a script to be run the execsutes a sybase query.
2. The script sends back to the browser a response stating that the sybase 
query is being executed.
3. The script sends back to the browser the results set of the sybase query.
     
Does anyone know if this can be accomplished and if so, how?
     
Thanks for your support!
Jason