Get ready for BLACK FRIDAY shopping starting in

Forums

This topic is locked

Using ASP to find out the current page's URL

Posted 23 Apr 2002 08:26:20
1
has voted
23 Apr 2002 08:26:20 elliot larson posted:
Is there any way to use ASP code to find out what the URL of a page is?

Here is why I ask: I am defining a repeat region on a page with subnavigational links, which, when clicked, pass variables to the same page. So after clicking one of these links, the URL might look like www.mysite.com/mypage.asp?link=link1.

I would then like to sort the resulting repeat region, using the same method - linking to the same page with a couple of sort variables tacked onto the end of the URL. But I first need to get the full, current URL, and then add the sort variables to it. Otherwise, I end up just sorting the full recordset.

Any help would be greatly appreciated.

Thanks,

Elliot
www.onhouse.net

Reply to this topic