This appendix provides reference information for all HTML variables for developing a customized Login into Tracking for your company web site. All variables are uploaded using POST method
I/O Variables
ASPX Sample Form Code
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="LoginTest.aspx.vb" Inherits="KSSS_LoginTest" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> </head> <body> <form id="form1" method="post" action="http://YOUR_COMPANY_SERVER_NAME/Default.aspx"> <div> <table style="width: 465px" cellpadding="4"> <tr> <td> Login Name </td> <td style="width: 100%"> <input id="_strLoginName" name="_strLoginName" type="text" /> </td> </tr> <tr> <td> Password </td> <td style="width: 100%"> <input id="_strPassword" name="_strPassword" type="password" /> </td> </tr> <tr> <td colspan=2> <input id="Login" type="submit" value="Login" /> </td> </tr> </table> <input id="_strUriReturn" name="_strUriReturn" type="hidden" value="<%=HttpContext.Current.Request.Url.AbsoluteUri %>" /> </div> </form> <asp:Label ID="lblResult" runat="server" Text=""></asp:Label> </body> </html>
Partial Class KSSS_LoginTest Inherits System.Web.UI.Page Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load For Each vInter In Request.Form.Keys lblResult.Text &= vInter & ": " & Request.Form.Item(vInter) & "<br />" Next End Sub End Class