• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Himai Minh

Want to display Warning: Page has Expired message

Ranch Hand
Posts: 278
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I want to display "Warning: Page has Expired" message after 2 mins of browser idle time. I have enabled following setting in my httpd config.

<IfModule mod_headers.c>
Header append Cache-Control: "private, max-age=120"

I can see my web page is created in "Temporary Internet Files" with proper expired time i.e. mypage.jsp expires on 08/28/2007 10.23AM which was last access at 10.21 AM. But after waiting for 5 minutes when I am clicking on browser's back/forward button page is not expiring and even it displays the data from the cache.

Can someone suggest why page is not expiring? Waht I should do?

You showed up just in time for the waffles! And this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
    Bookmark Topic Watch Topic
  • New Topic