CodingForums.com
>
:: Server side development
>
ASP
> Get page title or URL
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.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.