Setting & Reading HTTP Headers

Results 1 to 2 of 2

Thread: Setting & Reading HTTP Headers

  1. #1
    Join Date
    Dec 1969

    Default Setting & Reading HTTP Headers

    Is there any way to read a custom HTTP header that is set in a page using Response.AddHeader? Say I add the following code to my page:<BR><BR>Response.AddHeader "TEST", "TEST"<BR><BR>How do I read the value in the header corresponding to "TEST"? I can&#039t seem to access it with Request.ServerVariables("TEST") or any of the other Request collections.

  2. #2
    Join Date
    Dec 1969

    Default RE: Setting & Reading HTTP Headers

    I&#039d guess that headers added to the *response* aren&#039t included in subsequent *requests* - whether they should be or not, I don&#039t know.<BR><BR>Dunc

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts