I was wondering if its possible to add custom header with classic asp. In other words, I am looking for classic asp equivalent of .net's Response.AddHeader().
i.e.
HttpContext.Response.AddHeader("customheadertruefalse","1");
asp-classic
I was wondering if its possible to add custom header with classic asp. In other words, I am looking for classic asp equivalent of .net's Response.AddHeader().
i.e.
HttpContext.Response.AddHeader("customheadertruefalse","1");
Best Answer
Use
Response.AddHeader
(as JohnFx already answered). Here is sample from one of my working asp pages :