Create Hostheader with ASP

P

PL

Sure there is:

Response.AddHeader "myheader", "myvalue"

Juast don't expect the browser to send it back again.

This is mostly used for sending headers that are not directly
exposed in the Response object such as for example the Pragma
header for some proxy servers:

Response.AddHeader "Pragma", "no-cache"

PL.
 
J

Jeff Cochran

Sure there is:

Response.AddHeader "myheader", "myvalue"

That doesn't create a host header, it simply adds a header to the page
being served. He's talking about host headers in IIS used to redirect
requests to the proper site based on header information. That's an
IIS configuration.

Jeff
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,145
Messages
2,570,825
Members
47,371
Latest member
Brkaa

Latest Threads

Top