PDA

View Full Version : Get page title or URL


Khaled
05-14-2006, 06:09 PM
Hi all...
How I can get page title or page URL with ASP ?
Thank you for any help.

degsy
05-15-2006, 04:17 PM
You can get the URL via Request.ServerVariables("URL")

You cannot get the title unless you read the file using FSO or XMLHTTP etc.
You can then use a Regex to find the title tag and extract the text.