Skip to content

Instantly share code, notes, and snippets.

@ryanatwork
Created April 12, 2011 21:34
Show Gist options
  • Save ryanatwork/916473 to your computer and use it in GitHub Desktop.
Save ryanatwork/916473 to your computer and use it in GitHub Desktop.
Test file
<%
strPerson = "Not Available"
If request.cookies("LoginUser") <> "" Then
strPerson = request.cookies("LoginUser")
ElseIf request.cookies("User") <> "" Then
strPerson = request.cookies("User")
ElseIf Request.Cookies("Register")("FirstName") <> "" AND Request.Cookies("Register")("LastName") Then
strPerson = Request.Cookies("Register")("FirstName") & " " & Request.Cookies("Register")("LastName")
End If
strRemoteAddr = Request.ServerVariables("REMOTE_ADDR")
strRemoteHost = Request.ServerVariables("REMOTE_HOST")
strLocalAddr = Request.ServerVariables("LOCAL_ADDR")
strBrowser = request.ServerVariables("HTTP_USER_AGENT")
'strloginuser = Request.ServerVariables("LOGON_USER")
%>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment