Disabling Client Caching in WO
Disabling Client Caching in WO
- Subject: Disabling Client Caching in WO
- From: Tanmoy Roy <email@hidden>
- Date: Sun, 25 Sep 2005 20:34:14 +0530
Hi all,
I have simple question. How will I stop the client side caching in
webobjects? I have tried the following things till now:
1) setPageRefreshOnBacktrackEnabled(false); setPageCacheSize(0);
in the Application.java
2) Added appendToResponse(..) in the page I want to block the cache.
In that apend to reponse I have added
r.disableClientCaching();
r.setHeader("Cache-Control","no-cache"); //HTTP 1.1
r.setHeader("Pragma","no-cache"); //HTTP 1.0
r.setHeader("Expires", "Mon, 26 Jul 1997 05:00:00 GMT");
where "r" is the response.
3) Added and invisible iFrame in the page I want to block the cache.
My applicaion is direct action enabled. Any help here will be great!!!
--
Best,
Tanmoy
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden