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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Find out the URL the user has typed ??

Status
Not open for further replies.

joebickley

Programmer
Aug 28, 2001
139
GB
Hi Im trying to find out the URL that a user has typed to get to our server. This is because on our netwrok you type either the name of the machine (http:\\machineX) or the fully qualified name (http:\\machine.network.etc.etc)

If i use the [tt]<%=request(&quot;URL&quot;)%>[/tt] it only returns the page or folder level the user is at but i want the whole address

Is this Possible

Thanks

joe Bickley
 
haha answered my own question

/mental note search forum before posting a question

here is the answer FYI

[tt]<%= Request.ServerVariables(&quot;SERVER_NAME&quot;) & request.ServerVariables(&quot;PATH_INFO&quot;) %>[/tt]

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top