|
Art,
What I do is make sure after processing (or submitting the job to be
processed for a quicker response an you don't care about any response from
the backend process) write out HTTP headers with the location header
specifying the redirect location you want to go to
Location: /index.html [CRLF][CRLF]
Don't forget to end it with 2 CRLFs after the headers.
You can also use Javascript, but why? :)
On Tue, Oct 19, 2021 at 11:46 AM Art Tostaine, Jr. <atostaine@xxxxxxxxx>
wrote:
Also the browser reports this error:unable
Internal Server Error
The server encountered an internal error or misconfiguration and was
to complete your request.log.
Contact the server administrator at [no address given] to inform them of
the time this error occurred, and the actions you performed just before
this error.
More information about this error may be available in the server error
home
On Tue, Oct 19, 2021 at 12:38 PM Art Tostaine, Jr. <atostaine@xxxxxxxxx>
wrote:
I'm successfully processing a post transaction from a payment provider
with my RPG program.
After I update my tables I need to redirect the browser back to our
--page. I have HTML that successfully does this and I put it in the ifs--
directory CgidevExtHtml.
I tried merging some examples into my working program but in the logs I
get this message:
ZSRV_MSG0947: End of script output before headers: File name is
getpayzdr.pgm
RPG Code snip that does the output:
C eval IfsMultIndicators = getHtmlIfsMult(
C %trim(exthtml):'<as400>')
C callp wrtsection('part1')
my HTML Redirect page: https://code.midrange.com/62bf13cf06.html
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.
As an Amazon Associate we earn from qualifying purchases.
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.