AlaskaGuide
asked on
ASP vbScript GET variable from URL directory
I don't even know where to start to give sample code, but basically I'm wondering if there's a way in asp, vbscript to have it when:
www.mysite.com/users/username is entered
the default file in the users directory can somehow request the last bit like
username = Replace(Request.ServerVari ables("URL "),"/users /","")
Thanks
www.mysite.com/users/username is entered
the default file in the users directory can somehow request the last bit like
username = Replace(Request.ServerVari
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I was thinking it would take some IIS work. Thanks I also needed to upgrade to IIS from 6 to 7.
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=32c54c37-7530-4fc0-bd20-177a3e5330b7