Retrieving the user's information

First of all, you will want to create a new text file and save it as Logon.csp, placing it in the same directory as the HTML files. Declare four variables and use the names of the text boxes on the logon form to retrieve the User Name, Password, and Authentication Type values. To retrieve the APS name, use APS, the name of the parameter that was passed as a part of the URL string.

Example

Dim UserID, Password, APS, Aut

APS = Request.querystring("APS")

UserID = Request.form("UserID")

Password= Request.form("Password")

Aut = Request.form("Aut")

Remarks

Note that the object Request is a native object; that is, it is belongs to the server and is not a part of the Crystal Enterprise SDK. The property Form selects an item from the form on the submitting page, while QueryString selects a required parameter value.

Go to next step:

Creating a session manager



Crystal Decisions, Inc.
http://www.crystaldecisions.com
Support services:
http://support.crystaldecisions.com