Help - Request:/Argument Variables
 

When you use an HTML page as the action for an HTML <form> tag, the form fields are passed to PowerWeb which decodes them into this directory, regardless of whether you specified a method of GET or POST. This decoding also occurs if you use a URL which specifies form-field arguments.

Example 1:

The URL http://www.compusource.co.za/enrol.htm?ip=196.31.1.61&host=www.compusource.co.za

will create two variables in this directory:

VariableValue
ip196.31.1.61
hostwww.compusource.co.za

Example 2:

This HTML code:

<form method=post action=http://www.compusource.co.za/enrol.htm -->
IP: <input type=text name=ip size=24>
Host: <input type=text name=host size=24>
<input type=submit>
</form>

will also create the same two variables in the Request:/Argument directory when the form is submitted.

Refer to the PowerWeb Server++ Web Macros Reference Manual for more information.