Archive of UserLand's first discussion group, started October 5, 1998.
IIS 4.0 HTTP Headers
Author: michael Posted: 7/5/2000; 12:33:54 PM Topic: IIS 4.0 HTTP Headers Msg #: 18336 Prev/Next: 18335 / 18337
I need help. Using Asp objects, how does one change the set of HTTP headers that are sent back to the client? I've used the response.status method to set the initial header, but I need to delete some of the default headers IIS is sending back like:Server: Microsoft-IIS/4.0
Date: Wed, 05 Jul 2000 17:30:11 GMT
Connection: Keep-Alive
Content-Length: 1035
Content-Type: application/x-tmpdata
Set-Cookie: ASPSESSIONIDGGGQGQCC=HKIDIIKBJICFOIAMKDOPANPG; path=/
Cache-control: private
According to the protocol I'm trying to write to, only the content-length,status, and content-type headers are allowed. Also, the client posts the message using an HTTP/1.0 POST command, but IIS always responds with HTTP/1.1. How can I make IIS or my Asp page write 1.0 to the client? Do I have to use an ISAPI filter for this? Tell me there's another way!
This page was archived on 6/13/2001; 4:55:34 PM.
© Copyright 1998-2001 UserLand Software, Inc.