Code to Retrieve Login Credentials
Commerce Server 2002
This example shows how to retrieve the user ID and password submitted on an HTML form using either the Get method or the Post method.
- Retrieve the credentials using the Get method.
Dim sUserID, sPassword If Request.QueryString("realSubmit") = "fromButton" Then sUserID = Request.QueryString("txtUserName") sPassword = Request.QueryString("txtPassword") End If - Retrieve the credentials using the Post method.
Dim sUserID, sPassword If Request.Form("realSubmit") = "fromButton" Then sUserID = Request.Form("txtUserName") sPassword = Request.Form("txtPassword") End If
All rights reserved.
Show: