HTTP Headers

Results 1 to 2 of 2

Thread: HTTP Headers

  1. #1
    Join Date
    Dec 1969

    Default HTTP Headers

    Hello all<BR><BR>Is there any way in asp of writting custom http headers and then on another page, reading the value of the header into a variable.<BR><BR>Thanks<BR><BR>Carl

  2. #2
    Join Date
    Dec 1969

    Default RE: HTTP Headers

    Review the Official Docs at:<BR><BR><BR><BR><BR>to add:<BR>Response.AddHeader name, value<BR><BR><BR>See <BR>Request.ServerVariables (server environment variable)<BR><BR>HTTP_&#060;HeaderName&#062; The value stored in the header HeaderName. Any header other than those listed in this table must be prefixed by HTTP_ in order for the ServerVariables collection to retrieve its value. <BR>Note The server interprets any underscore (_) characters in HeaderName as dashes in the actual header. For example if you specify HTTP_MY_HEADER, the server searches for a header sent as MY-HEADER.<BR>

Posting Permissions

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