Response.AddHeader method

Adds a custom HTTP header.

Usage

Response.AddHeader name, value

Details

Used to send a custom HTTP header to the client, such as a P3P compact policy.

Note

This method must precede any data sent to the client, so put it at the top of your page. (Buffered pages may be able to add it later.)