• 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
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: simple question
  • Next by Date: Re: simple question
  • Previous by thread: Re: simple question
  • Next by thread: Combo box vs "Array is empty"
  • Index(es):
    • Date
    • Thread