Edit your object tag by adding the two lines shown in red
below. In the following example, the user name for Var1 is "TestUser" and
the password for Var2 is "TestPassword".
You must substitute the user name and password values shown below
with actual working values or else the script is not able to successfully
log on to your host.
The following example is a standard object tag with the
addition of the
Var1 an
Var2 parameters
shown in red.
<OBJECT ID="BlueZone Web-to-Host Control Module v3"CLASSID="clsid:037790A6-1576-11D6-903D-00105AABADD3"
CODEBASE="../sglw2hcm.ocx#Version=-1,-1,-1,-1" HEIGHT=0 WIDTH=0>
<PARAM NAME="IniFile"VALUE="default.ini">
<PARAM NAME="Sessions" VALUE="MD_S1">
<PARAM NAME="MD_DistFile"VALUE="display.e3d">
<PARAM NAME="MD_S1" VALUE="mfdisp1.zmd">
<PARAM NAME="MD_S1_Save" VALUE="Yes">
<PARAM NAME="MD_S1_Var1" VALUE="TestUser">
<PARAM NAME="MD_S1_Var2" VALUE="TestPassword">
CAUTION:
All of the object tag values are in
clear text, therefore it is advisable to use HTTPS sessions when passing
variables like user names and passwords.