• 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 ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • 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"
</IfModule>

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?

Thanks
 
You showed up just in time for the waffles! And this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic