Revision: 6690
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at June 7, 2008 11:04 by neal_grosskopf
Initial Code
function GetPath() query_string = request.ServerVariables("QUERY_STRING") if query_string <> "" then query_string = "?" & query_string end if GetPath = "http://" & request.ServerVariables("SERVER_NAME") & request.ServerVariables("URL") & query_string end function
Initial URL
http://www.nealgrosskopf.com/tech/thread.asp?pid=13
Initial Description
One thing that always bothered me about Classic ASP is that there isn't an easy way to get the entire url. So I devised a function that will get the full path including the query string.
Initial Title
Getting Full URL/Path with ASP
Initial Tags
path, function, ASP
Initial Language
ASP