How to prevent pages from getting cached while using JBoss application server
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Manju_k
Posted On:   Monday, September 9, 2002 08:19 AM


I have the response.setHeader("Cache-Control","no-store"); //HTTP 1.1
in my servlets and this prevents the pages from being cached on the Weblogic and Websphere servers . But this does not seem to work on JBoss and the pages are getting cached.


Guessing there might be some parameter to be tweaked in the JBoss configuration files. Is anyone aware of this ?

Thanks

Re: How to prevent pages from getting cached while using JBoss application server

Posted By:   Steven_Martin  
Posted On:   Monday, September 9, 2002 12:14 PM


<%
response.setHeader("Cache-Control","no-cache"); //HTTP 1.1
response.setHeader("Pragma","no-cache"); //HTTP 1.0
response.setDateHeader ("Expires", -1); //prevents caching at the proxy server
%>
<%=""%>
About | Sitemap | Contact