Hi all
is it possible in ASP to access a part of the URL as a querystring?
example: www.site.com/folder
can the index.asp in the root of this site show a page that is based on the "folder" parameter - instead of simply showing the index.asp file that sits inside of "folder"?
another example: goto www.whois.sc now goto www.whois.sc/cnn.com
obviously there isnt a folder for every single domain name within the whois.sc site. so how do they access the URL as a parameter?
another exmple (i'm on a roll, don't stop me): http://profiles.yahoo.com/harry
so all i (theoretically) have is one page in my site - call it www.site.com/default.asp but thru that one page i can access info about New York if i go to www.site.com/ny and LA if i go to www.site.com/la - all in that one default.asp page.
basically what i am trying to achieve is to build a friendly system for visitors to remember the URL (like www.site.com/ny), but also to allow the client (site owner) to open new locations as he needs, without me having to create a new folder and pages for him everytime.
can this sort of thing be done in ASP? and does JH support this kind of thing?
many thanks!
is it possible in ASP to access a part of the URL as a querystring?
example: www.site.com/folder
can the index.asp in the root of this site show a page that is based on the "folder" parameter - instead of simply showing the index.asp file that sits inside of "folder"?
another example: goto www.whois.sc now goto www.whois.sc/cnn.com
obviously there isnt a folder for every single domain name within the whois.sc site. so how do they access the URL as a parameter?
another exmple (i'm on a roll, don't stop me): http://profiles.yahoo.com/harry
so all i (theoretically) have is one page in my site - call it www.site.com/default.asp but thru that one page i can access info about New York if i go to www.site.com/ny and LA if i go to www.site.com/la - all in that one default.asp page.
basically what i am trying to achieve is to build a friendly system for visitors to remember the URL (like www.site.com/ny), but also to allow the client (site owner) to open new locations as he needs, without me having to create a new folder and pages for him everytime.
can this sort of thing be done in ASP? and does JH support this kind of thing?
many thanks!