I'm not entirely sure it would fail.  Just return blanks
for the data that is retrieved the second time.   If so,
there should be an error or errors in the CGIDEBUG file as
well as the job log for the web server.

But, the logic is definatly wrong as to what he is trying
to do.

On Thu, 27 Apr 2006 14:22:46 -0500 (CDT)
 web400@xxxxxxxxxxxxxxxx wrote:
> Hi Shane,
> 
> > basically the flow works like this...ERQINBOX (click)->
> ERQAPPROVE (click)
> > -> ERQAPPRC(2 calls) -> ERQAPPROV then ERQINBOX
> 
> You're telling it to re-load the input from the browser
> in both programs. 
> The first program uses /COPY PROLOG3 which calls the
> ZhbGetInput() routine 
> which in turn asks the HTTP server for the data from the
> browser.
> 
> When the second program starts, it does the same thing,
> it once again uses 
> PROLOG3 to get the input from the browser.
> 
> The problem is, the browser input has already been
> retrieved.  With POST 
> data, you can't do it twice!  So the second program would
> likely fail.
> 
> -- 
> This is the Web Enabling the AS400 / iSeries (WEB400)
> mailing list
> To post a message email: WEB400@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/web400
> or email: WEB400-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the
> archives
> at http://archive.midrange.com/web400.
> 

Bradley V. Stone
BVS.Tools
www.bvstools.com

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.