ASP Response.AddHeader() - Response Object Adds an HTTP header to the output stream. Response.AddHeader() is provided for compatibility with earlier versions of ASP.
ShotDev Focus:
- The string to add to the header.
Example
asp_response_addheader.asp
<% Option Explicit %> <% Response.AddHeader "CREATOR","www.ShotDev.Com"%> <html> <head> <title>ShotDev.Com Tutorial</title> </head> <body> <% Response.write("Welcome To www.ShotDev.Com<br>") Response.write("Now = "& Now()) %> </body> </html>
Create a asp file and save to path root-path/myasp/
Run
http://localhost/myasp/asp_response_addheader.asp
Screenshot
.
.
.