Problem Note 35603: In SAS/IntrNet® 9.2, the weblogin.sas sample program creates incorrect output
The weblogin.sas sample program that is provided with the SAS 9.2
SAS/IntrNet® Application Dispatcher creates incorrect output.
Any variables that are generally hidden in an HTML output page
(such as _SERVICE, _DEBUG and _PROGRAM) are not included in the output that is created
when this code is executed.
To correct the problem, you can modify the weblogin.sas sample to include these hidden fields.
Complete the following steps to modify the sample program:
- Make a backup copy of your weblogin.sas file.
- Remove the following lines in your weblogin.sas file:
program=symget('_userprogram');
put '<input type=hidden name="_program" value="' program +(-1) '">';
service=symget('_service');
put '<input type=hidden name="_service" value="' service +(-1) '">';
fields=appsrv_unsafe('_hiddenfields');
put fields;
- Replace the preceding lines with the following:
do until(missing(fields));
/* Exclude _SERVER and _PORT fields */
fields = appsrv_gethidden("_SERVER _PORT");
put fields;
end;
The following example illustrates how to use the
weblogin.sas sample code.
proc appsrv auth=host enter-options-here ;
request login=sample.weblogin.sas;
run;
Operating System and Release Information
| SAS System | SAS/IntrNet | z/OS | 9.2 TS1M0 | |
| Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.2 TS1M0 | |
| Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.2 TS1M0 | |
| Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.2 TS1M0 | |
| Microsoft Windows XP 64-bit Edition | 9.2 TS1M0 | |
| Microsoft® Windows® for x64 | 9.2 TS1M0 | |
| Microsoft Windows Server 2003 Datacenter Edition | 9.2 TS1M0 | |
| Microsoft Windows Server 2003 Enterprise Edition | 9.2 TS1M0 | |
| Microsoft Windows Server 2003 Standard Edition | 9.2 TS1M0 | |
| Microsoft Windows XP Professional | 9.2 TS1M0 | |
| Windows Vista | 9.2 TS1M0 | |
| 64-bit Enabled AIX | 9.2 TS1M0 | |
| 64-bit Enabled HP-UX | 9.2 TS1M0 | |
| 64-bit Enabled Solaris | 9.2 TS1M0 | |
| HP-UX IPF | 9.2 TS1M0 | |
| Linux | 9.2 TS1M0 | |
| Linux for x64 | 9.2 TS1M0 | |
| OpenVMS on HP Integrity | 9.2 TS1M0 | |
| Solaris for x64 | 9.2 TS1M0 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
The weblogin.sas sample program that is provided with the SAS/IntrNet 9.2 Application Dispatcher creates incorrect output. Any variables that
are generally hidden in an HTML output page (such as _SERVICE, _DEBUG
and _PROGRAM) are not included in the output that is created.
| Type: | Problem Note |
| Priority: | medium |
| Date Modified: | 2009-09-04 11:31:54 |
| Date Created: | 2009-04-16 16:54:11 |