I have setup my screens to call doPostBuildTemplate() in which I force the 
expiration of pages as such

  doPostBuildTemplate( Rundata data, Context context )
  {

    data.getResponse().setHeader("Cache-Control", "no-store");
    data.getResponse().setHeader("Pragma", "no-cache");
    data.getResponse().setDateHeader("max-age", 0);

    // I tried 0 as well for expires and did not help
    data.getResponse().setDateHeader("Expires", -1);  

  }


I verified with org.apache.axis.utils.tcpmon the header data is coming 
through from turbine

my apps header info

HTTP/1.1 200 OK
Date: Wed, 12 Nov 2003 18:19:31 GMT
Server: Apache/2.0.40 (Red Hat Linux)
Expires: Wed, 31 Dec 1969 23:59:59 GMT
Content-Language: en-US
Pragma: no-cache
max-age: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-store
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html;charset=ISO-8859-1


and so I think all looks fine, but using mozilla "Page Info" it says 
Expires: Not Specified


I pulled up another website (cnn.com) to test against

their header looks like

HTTP/1.1 200 OK
Server: Netscape-Enterprise/6.1 AOL
Date: Wed, 12 Nov 2003 18:14:41 GMT
Last-modified: Wed, 12 Nov 2003 18:14:36 GMT
Expires: Wed, 12 Nov 2003 18:15:36 GMT
Cache-control: private,max-age=60
Content-type: text/html
Transfer-Encoding: chunked

and in mozilla page info gives their expiration date correctly.


Any clues as to what I'm doing wrong or is something wrong with mozilla?


-- 
Regards,

Jeffery Painter

- --
[EMAIL PROTECTED]                     http://kiasoft.com
PGP FP: 9CE8 83A2 33FA 32B1 0AB1  4E62 E4CB E4DA 5913 EFBC

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
 
iD8DBQE/qEQE5Mvk2lkT77wRAnMJAJ9vJ6qOkg/mvqqIpz7troCEQJ8bFACglu/U
YNXabx7DZOV2Hd9LwSTmGpY=
=dWiu
-----END PGP SIGNATURE-----


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to