Click to See Complete Forum and Search --> : Add and display a header value


Kuriyama
08-28-2008, 03:06 PM
<%
if Request("submit") <> "" then
Response.Addheader "test", "tesasdft"
end if

strtest = Request.ServerVariables("HTTP_test")
Response.write strTest
%>

I'm attempting to add a header to my page. I can see the header that I have added use firebug, but I'm unable to write the header to the page. Any ideas?

Kuriyama
08-29-2008, 08:51 AM
Bumping this post. Could this be an IIS issue?

Bullschmidt
09-07-2008, 05:36 PM
I don't suppose that adding a Response.Flush line of code after your Response.Addheader "test", "tesasdft" line of code would help any (but just a shot in the dark)...