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.
var UserID, Password, APS, Aut;
APS = Request.QueryString.Item("APS");
UserID = Request.Form.Item("UserID");
Password = Request.Form.Item("Password");
Aut = Request.Form.Item("Aut");
Note that the object Request
is a native object; that is, it is belongs to the WCS CSP scripting model and is not a part of the Crystal Enterprise SDK. The property Form
is used to access an array of values that were submitted in a form; QueryString
is used to access the arguments that were passed as a part of the URL.
Crystal Decisions, Inc. http://www.crystaldecisions.com Support services: http://support.crystaldecisions.com |