Re: Problems setting MIME Headers
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 16947
interpreted = N
texte = On 4/8/1998 9:11 AM, Christer Olsson so noted...>>[setMIMEHeader name=Cache-control&value=proxy-revalidate]>>>>Which should cause the proxy to revalidate at each request.>>Unfortunately, when I list the MIME headers on the page, I get:>>>>12) Cache-control = Max-age=259200>>>>Which is the same as if I'd done nothing at all. I've also tried>>>>[setMIMEHeader name=Cache-control&value=max-age=0]>>>>and would rather use, but it also appears to have no effect (is there a>>problem by having an = in the value definition?)>>>>Is there someplace special the [setMIMEHeader] needs to be placed? Anyone>>able to get something like this to work?>>>Cache-control is a HTTP/1.1 header - is your server HTTP/1.1.>>For HTTP/1.0 you could try: Pragma: no-cache or Expires: 0 for avoiding>caching.Yes, our server's HTTP/1.1 compliant, but I've also tried Expires: 0 with the same (non-) result.Rob MarquardtDesigner/Resident WireheadToast Design300 First Avenue North, Suite 150Minneapolis MN 55401612.330.9863 v612.321.9424 fwww.toastdesign.com
Associated Messages, from the most recent to the oldest:
On 4/8/1998 9:11 AM, Christer Olsson so noted...>>[setMIMEHeader name=Cache-control&value=proxy-revalidate]>>>>Which should cause the proxy to revalidate at each request.>>Unfortunately, when I list the MIME headers on the page, I get:>>>>12) Cache-control = Max-age=259200>>>>Which is the same as if I'd done nothing at all. I've also tried>>>>[setMIMEHeader name=Cache-control&value=max-age=0]>>>>and would rather use, but it also appears to have no effect (is there a>>problem by having an = in the value definition?)>>>>Is there someplace special the
[setmimeheader] needs to be placed? Anyone>>able to get something like this to work?>>>Cache-control is a HTTP/1.1 header - is your server HTTP/1.1.>>For HTTP/1.0 you could try: Pragma: no-cache or Expires: 0 for avoiding>caching.Yes, our server's HTTP/1.1 compliant, but I've also tried Expires: 0 with the same (non-) result.Rob MarquardtDesigner/Resident WireheadToast Design300 First Avenue North, Suite 150Minneapolis MN 55401612.330.9863 v612.321.9424 fwww.toastdesign.com
Rob Marquardt
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
unable to launch acgi in WebCat (1997)
Re:2nd WebCatalog2 Feature Request (1996)
WebCat2 Append problem (B14Macacgi) (1997)
Help! WebCat2 bug (1997)
WC2/Mac -- Forms not submitting correctly with Mac browsers (1997)
[WebDNA] Grep out square brackets? (2010)
Permission denied? (2004)
Looking up two prices in Formulas.db (1997)
need some help with a loop [nested search?] (1999)
process out of control....... (2002)
convertwords BUG (2002)
Fufillment e-mail? (1998)
IE 6 weirdness ??? (2002)
Error:Too many nested [xxx] contexts (1997)
Zeroing out shipping costs (2000)
reporting commands (2001)
WebCat2b13MacPlugIn - [shownext method=post] ??? (1997)
math on date? (1997)
Sku numbers (1997)
[movefile] (1999)