It solves my problem! Thank you very much! Regards, yllan
On Sun, Sep 14, 2008 at 4:36 PM, Stephane Guyot <[EMAIL PROTECTED]> wrote: > > Ok sorry, > I'm trying to help you but ... Please don't say sorry. I'm really grateful for your help. :-) > If you put , just for test , setPageCacheSize(0) on WOApplication the > problem disapears ? > See setPageFragmentCacheSize too. > Did you have a Session ? > If yes , overriding one of the methods savePage, savePageInPageCache > or savePageInPageFragmentCache > to prevent to put in cache some of your pages based on their name may be > what you are looking for ? > You can still rely on your own API on each component , like mayBeCached > defaulting to true, and then overriding on per page basis when you don't > want caching. > If you have no session, url of your page may be cache by the browser, then i > would try to add dummy value in a query string. > HTH one more time, > Stephane > Le 14 sept. 08 à 09:55, Yung-Luen Lan a écrit : > > On Sun, Sep 14, 2008 at 3:01 PM, Stephane Guyot > <[EMAIL PROTECTED]> wrote: > > Hi Yung-Luen, > have a look on the following method : disableClientCaching ---> Class > WOResponse > http://developer.apple.com/documentation/DeveloperTools/Reference/WO541Reference/com/webobjects/appserver/WOResponse.html#disableClientCaching() > You can override appendToResponse in your CSVReport page and invoke > disableClientCaching, > something like : > public void appendToResponse(WOResponse aResponse, WOContext aContext) { > aResponse.setHeader("application/vnd.ms-excel", "Content-Type"); > super.appendToResponse(aResponse, aContext); > aResponse.disableClientCaching(); > } > > Yes, I've already add this line to my class. However, my problem is > not a "client side caching" but a "server side caching" I believed. > There is a method that disable the server side caching on > WOApplication, but I hope there is some way to set it on specific > components. > Regards, > yllan > > _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
