There are times in your scripts when you are going to want to get the
current page URL that is shown the browser URL window.
For example maybe a page URL has Querystring info appended to it and you
need to send an email off to someone with that same exact URL and
Querystring information.
There are plenty of other reasons as well.

Here is some code to do it.

Lets say the current page is simply "http://www.mysite,com/view_user.asp"

This is all you need to get you the current page URL<%
Thispage ="http://" & Request.ServerVariables("SERVER_NAME") &
Request.ServerVariables("URL")
%>

Now, if your page has Querystring info and variables you want as well.
Like so "http://www.mysite,com/view_user.asp?ID=1&Name=Fred"