Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to modify the header
Message
From
05/04/2002 15:35:34
 
 
To
04/04/2002 21:32:19
General information
Forum:
Internet
Category:
Active Server Page
Miscellaneous
Thread ID:
00640216
Message ID:
00641608
Views:
20
>Hi Crescencio
>
>Thanks.
>
>What I need is to be able to change the title depending on a set of values received from a form and on a cookie.
>
>The ASP code checks for some values and the web page displays different things accordingly. I have used Write.Responst("header data here") from within the ASP code, but the Dreamweaver's design view goes away because of the header being enclosed into the function call parenthesis.
>
>Regards.
>
>Oscar
>

I've never used Dreamweaver, but say you want to set the title, the ASP page would look like this:
<%
Dim sTitle

sTitle = Request.QueryString("mytitle")
%>
< HTML >
< HEAD >
  < TITLE >< % = sTitle % >< /TITLE >
< /HEAD >
< BODY >

< /BODY >
< /HTML >
Extra spaces have been added to bypass the UT parser. The URL for this would look like: http://localserver/mypage.asp?mytitle=Something HTH
Previous
Reply
Map
View

Click here to load this message in the networking platform