I am working on classic asp application.
I have use URL rewrite on some pages.
How can i get current url of the page in classic asp?
Example:
http://www.site.com/page.asp —> url rewrite in IIS —> http://www.site.com/home/page
so here i want current url of the page which is http://www.site.com/home/page
Please help me.
Thanks.
Best Answer
There's no fancy one function that does it all.
First you need to get the protocol (if it is not always http):
Now the rest with optional query string:
Hope it works for you.