• Post Reply Bookmark Topic Watch Topic
  • New Topic

Apache/Tomcat Expiring a page  RSS feed

Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to expire a page after use. Hence I coded this in JSP
response.setDateHeader ("Expires", 0);
response.setHeader("Pragma", "no-cache");
response.setHeader("Cache-Control", "no-store");
response.setDateHeader("max-age", 0);
response.setDateHeader("Expires", 0);
This works just fine when I run it from my IDE, which is JDeveloper 3.2.3.
I then transfered it to my Apache/Tomcat server. When I run it from the server the page expiring does not work.
Oh! by the way I am using IE 5.5
Could some one please enlighten me as to what I am missing... for the apache/tomcat configration.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!