Is there a way to insert a META tag into the head portion of a page dynamically?
Printable View
Is there a way to insert a META tag into the head portion of a page dynamically?
Use Response.Write while writting the headers out.......
TG
Pffffttt...I could have thought of that.
;)
or you can do it using response.addheader in code like this:
VB Code:
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Response.AddHeader("Pragma", "no-cache") Response.AddHeader("Cache-control", "private, no-cache, must-revalidate") Response.AddHeader("Refresh", "60;url=default.aspx") 'etc End Sub