• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Disabling Client Caching in WO (resending)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Disabling Client Caching in WO (resending)


  • Subject: Disabling Client Caching in WO (resending)
  • From: Tanmoy Roy <email@hidden>
  • Date: Mon, 26 Sep 2005 09:04:34 +0530

The mail might not have reached all. Resending the same. Please ignore
if you already got it.

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

  • Follow-Ups:
    • Re: Disabling Client Caching in WO (resending)
      • From: Guido Neitzer <email@hidden>
  • Prev by Date: WO on AMD Linux 64bit
  • Next by Date: Re: Disabling Client Caching in WO (resending)
  • Previous by thread: Re: WO on AMD Linux 64bit
  • Next by thread: Re: Disabling Client Caching in WO (resending)
  • Index(es):
    • Date
    • Thread