• Advertisement
Sign in to follow this  

need simple help with asp.net

This topic is 3905 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am trying to write an ASP.net app for the first time using this language and having a bit of issues. I want to be able to add custom headers to my server responses and am for instance trying this....
protected void Page_Load(object sender, EventArgs e)
{
     Response.AddHeader("testName", "testValue");
     Response.Flush();
}
I am tracing all headers outputted and mine will not show up for some reason.

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement