Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cookie Domain Name

Status
Not open for further replies.

SmokeEater

Technical User
Feb 14, 2002
90
CA
I need to transfer information such as first name and last name between applications. I thought using a cookie would be the best way. I can create and read the cookie in the first application but cannot read the cookie in the second application. From researching the problem it appears to be a domain thing? I am working with an Intranet. How do you specify the domain when you are not a dot com.
 
Hi

If you are doing this in an intranet we use windows login name for our security.

Code:
If InStr(1, Request.ServerVariables("LOGON_USER"), "\") > 0 Then
	LoginName = Mid(Request.ServerVariables("LOGON_USER"), InStr(1, Request.ServerVariables("LOGON_USER"), "\") + 1)
End If

Just a smalll snippet.

Thanks



Glen
Conception | Execution
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top