Export (0) Print
Expand All

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
    

Copyright © 2005 Microsoft Corporation.
All rights reserved.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft