PDA

View Full Version : HTTP Headers in IIS


Dean
05-17-2004, 07:49 PM
Hi there

does any one know where i can fins a crib sheet listing all the different http Header's for IIS5 i have found the ones so i can publish a document with a different mime type so i can make a asp page be published as a .csv if you request the .asp page.

So if anyone knows where i can this kind of list i would be grateful. :confused: :confused:

I am trying to find the code that will allow me to have IIS5 write the cokkies for the site without having to put the code on the pages so prevent the need to keep checking that the customer hasn't removed the code by mistake.

all help welcome :thumbsup: :thumbsup:

Dean
05-18-2004, 10:41 AM
HI all

I noticed that 22 people had a look and didn't appear to have a answer to my question.

well luckily i found the solution and i am here to spread the knowolledge in case any one else is ever in the same position.

I was looking every where yesterday trying to find stuff but most if not all results for http headers and customer http headers would either give email related header info or specialist custom car shops making header units for big V8's.

I manage to figure out a few but i forgot to update the this before i turned the computer off last night.

this is what i got to work, in the customer header tab in IIS for the file if you add:

custome header name: Set-Cookie
custom header value: section1; domain=mydomain.co.uk; path=/file@mydomain.co.uk; expires=Fri, 16-Jul-2004 18:59:01 GMT

this then to allows the cookie to be written but to make sure it gets through the cookie bloking P3P security in IE6 you need to add this P3P bit underneath.

Custom Header Name: P3P
Custom Header Value: CP="NOI DSP COR ADMa DEVa PSAa OUR BUS COM"

I will have another look today to see if i can find any more. if you know of any good list the links would be apprecaited.

Its nice to share.