6 Replies Latest reply on Aug 6, 2010 1:51 AM by johnjoe

    How to prevent caching of URL?




      I have an application developed using Flex SDK 3.2 that calls a java servlet using navigateToURL. The servlet returns a generated PDF file, but after the first call the response is getting cached. I'm not sure if this a problem with Flex, Java or Tomcat. I have tried setting response parameters in the servlet (seHeader("Pragma","no-cache")) etc and tried a similar approach in the client - new URLRequestHeader("pragma", "no-cache");.


      Anyway, no matter what I do I can't stop the caching and I;m hoping someone can help.