Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to modify the header
Message
De
05/04/2002 15:35:34
 
 
À
04/04/2002 21:32:19
Information générale
Forum:
Internet
Catégorie:
Active Server Page
Divers
Thread ID:
00640216
Message ID:
00641608
Vues:
22
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform