browser

5 pts.
Tags:
AS/400
PC/Windows Connectivity
I have to invoke a browser from as/400 with authentication by sending sensitive information as paremeters. The browser will take tbe parameters and get the data from i-series and display the information in the browser. any help in how to invoke the browser with paramaters would be helpful as soon as possible.
ASKED: March 29, 2007  7:09 AM
UPDATED: March 29, 2007  9:01 AM

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi

Not sure if I’m misunderstanding the question, but are you asking how to launch a web browser from the AS400 or how to specify parameters when you launch it?

To launch a browser you can use the STRPCO and STRPCCMD commands (assuming you have iSeries Access installed). There was a thread on this in February 2007 in the Midrange.Com archives that gave a command (source at http://www.astradyne-uk.com/code/index.php?id=66648adc5e) to launch a browser using the STRPCO and STRPCCMD commands.

To add parameters to the launch you would do it the same way you would for any CGI program by tacking them on to the end of the URL. For example:

www.myAS400.com/cgi-bin/verify.pgm?user=JOHN&site=UK

Where the “?” separates the parameters from the URL, the “=” separates the parameter name and the value, and the “&” separates parameter pairs.

Hope it helps

Jonathan

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following