Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

getting name of file 1

Status
Not open for further replies.

karenmierkalns

Programmer
May 10, 2001
54
CA
Is there a way to get just the name of the file of the page you are on? Rather than just the values passed to the page (querystring), I want the actual asp page name. I don't want to have to pass the name of the file as a value, because that would be a hassle.

Even if I could get the entire URL, I could do some parsing with it to get the actual file name.

ie. if the page is:

I would like to get just "home.asp"

Thanks. - Karen
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top