Hi, can anyone tell me how to dynamically change the <TITLE> of a webpage. Currently our site displays the same title on ALL pages, but depending on the product that is being viewed i want to change the <Title> tag,
Or if you can write them in with ASP by doing just that - write in the text. This is good sometimes if you want to add data source from previous page, database, or cookies etc.
if the titles are not in a DB, create an Include file:
************************
*** Include_File.inc ***
<%
id = Request.QueryString("id"
Select case id
case "1"
title = "Product1"
case "2"
title = "Product2"
case "3"
title = "Product3"
case else
end select
%>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.