SAS/IntrNet 9.2: Xplore Sample Web Application |
1. |
Ensure that the parameters in the main Xplore HTML file (webxplib.html) are correct for your site. The webxplib.html file can be found in the directory that corresponds to the following URL: http://your_server/sasweb/IntrNet9/xplore where |
2. |
If Xplore is to run with a secure Application Server, you must add a statement to the program that starts your Application Server. |
3. |
To run Xplore, type the following URL into your Web browser: http://your_server/sasweb/IntrNet9/xplore/webxplor.html |
Note: Xplore displays all Application Server data libraries except those that are excluded by the exclude parameter in the webxplib.html file (the sample webxplib.html file excludes the SASHELP library). You can add new data libraries to Xplore by defining them in an ALLOCATE LIBRARY statement and listing them in the DATALIBS statement of the APPSRV procedure. |
The webxplib.html file is located on your Web server in a directory that you created when you installed the Application Dispatcher. You can modify the values for the following parameters. Do not modify any of the other parameters in the file.
You must set the following parameters in order to run Xplore:
brokername = '/sasweb/cgi-bin/broker'
broker.exe
instead of broker
on Windows systems.
servicename = 'default'
default
is the default service that is defined for the
Application Server. Change this value only if you define another
service for the Application Server.
xplorelocation = 'samplib.websamp'
If you do not want to use an optional parameter,
then set the parameter value to ' '
.
debugvalue = '2'
bgtype = 'COLOR'
COLOR
. To specify
that the background is an image, specify a value of IMAGE
.
bg = '%23ffffe7'
Specify a background color if the value of the
bgtype parameter is COLOR
. Specify the
hexadecimal value of the color, and precede it with an NCR code of
%23
(the NCR code for the pound sign (#)). For an example,
see the default value for the bg parameter.
Specify a URL for
the background image if the value of the bgtype parameter is
IMAGE
.
giflocation = ' '
memtypes = new Array()
Array ()
), then all member types are included. If
you specify specific member types (for example,
Array ('data','view')
), then only members of
the specified types are included.include = new Array()
Array ()
), then all libraries are included
except for the libraries that are
specified by the exclude parameter. If
you specify specific libraries (for example,
Array ('sasuser')
), then only those libraries
are included.
Notes:
WORK
library.
exclude = new Array('sashelp')
Array ()
), then no libraries are excluded. The default
value for this parameter excludes the SASHELP library.
Note: You cannot use the exclude parameter if you use the include parameter.
If your Xplore application runs with a secure Application Server, then you must add the following statement to the program that starts the Application Server.
request login=sample.weblogin.sas;
Your program would then look something like the following:
proc appsrv auth=host; . . . request login=sample.weblogin.sas; . . . run;
When a user starts the Xplore application, the following page appears requesting a user name and password:
After the user submits the user name and password and is authorized, Xplore proceeds to run normally.
You can configure your secure Application Server so that authorization to the Server expires after a certain amount of time. For more information on setting an expiration time, see the TIMEOUT parameter of the SESSION statement for the APPSRV procedure.
Copyright © 2007 by SAS Institute Inc., Cary, NC, USA. All rights reserved.