• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Apache/Tomcat Expiring a page

 
Abraham Jacob
Greenhorn
Posts: 25
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Greetings,
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.
Thanx,
Abe
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic