INFO: Headers Added With Response.AddHeader Are Not Included in ServerVariables Collection (270645)



The information in this article applies to:

  • Microsoft Active Server Pages

This article was previously published under Q270645

SUMMARY

The Request.ServerVariables collection is populated with HTTP Header information that is sent from the browser or HTTP client to the Web server. HTTP Headers that are written with Response.AddHeader are sent from the Web server to the browser or HTTP client. The browser or HTTP client does not return the HTTP Header information that it receives from the Web server in later HTTP Requests. As a result, HTTP Headers that are written with Response.AddHeader are not included in the Request.ServerVariables collection.

MORE INFORMATION

For additional information on writing information to the browser or HTTP client that will be included in future HTTP requests, click the article number below to view the article in the Microsoft Knowledge Base:

175167 HOWTO: Persisting Values Without Sessions


Modification Type:MajorLast Reviewed:5/8/2001
Keywords:kbASPObj kbDSupport kbinfo kbScript KB270645