Question

  Asked: Mar 29 2007   7:09 AM GMT
  Asked by: veen781


browser


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.

Subscribe to Alerts! Get questions and answers delivered to your Inbox.


E-mail me updates on this question



   SUBSCRIBE

hidden modal window

Answer Wiki (Improve, edit or add to this answer)


 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0



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
  • AddThis Social Bookmark Button

Browse more Questions and Answers on AS/400 and Microsoft Windows.

Looking for relevant AS/400 Whitepapers? Visit the Search400.com Research Library.


Discuss This Answer


You must be logged-in to discuss a question. Log-in/Register