Re: Problems setting MIME Headers

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 16934
interpreted = N
texte = >[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. ************************************************************* Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 Art director S-211 37 Malmoe Fax +46 40 97 99 77 Ljusa Ideer AB Sweden http://www.ljusaideer.se Associated Messages, from the most recent to the oldest:

    
  1. Re: Problems setting MIME Headers (Christer Olsson 1998)
  2. Re: Problems setting MIME Headers (Rob Marquardt 1998)
  3. Re: Problems setting MIME Headers (Rob Marquardt 1998)
  4. Re: Problems setting MIME Headers (Christer Olsson 1998)
  5. Re: Problems setting MIME Headers (Sandra L. Pitner 1998)
  6. Problems setting MIME Headers (Rob Marquardt 1998)
>[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. ************************************************************* Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 Art director S-211 37 Malmoe Fax +46 40 97 99 77 Ljusa Ideer AB Sweden http://www.ljusaideer.se Christer Olsson

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:

international time (1997) email error 159 (1998) change the number format (1997) using showpage and showcart commands (1996) Re:Signal Raised (1997) [ReturnRaw] and hiding FORM data (2003) Removing [showif] makes a big difference in speed (1997) [WebDNA] sagepayments TLS? requests now failing (2018) read and write you own cookies with webcat (1997) [WebDNA] Exclude found items in a 2nd search (2016) (long) Support (was wo search help) (1999) [date format] w/in sendmail (1997) Weird bug, or is there something amiss? (1997) WebCatalog for Mac 2.0.1 Released (1997) no [search] with NT (1997) Fwd: Image Pirating [protecting against] (2003) WebCatalog (1998) Cart # Starting at 1000 (2000) UN-WANTED character conversion (1999) WebCat2b12 - nesting [tags] (1997)