Forum Moderators: phranque

Message Too Old, No Replies

How is HTTP set-cookie related to Proxy behaviour?

         

tomx

3:27 pm on Jun 7, 2004 (gmt 0)

10+ Year Member



Hello!

I was just discussing about caching and proxies when someone told me that set-cookie in the http header can prevent a file from being cached by a proxy. Is that true?

The http header looks like this:

HTTP/1.1 200 OK
Server: Netscape-Enterprise/6.0
Date: Mon, 07 Jun 2004 13:18:31 GMT
Content-length: 3725574
Content-Type: application/x-zip-compressed
Set-Cookie: WebLogicSession=QMRrHnNJ5rVaGSa3I6rAGwFHdi17vpU0SJ6sSsi3An1eSK4ltYEh
¦-8402839569366403152/-1008148184/6/7001/7001/7002/7002/7001/-1; path=/

Will this prevent the file from being cached even if a last-modified was delivered?

Thanks a lot.

Tom