• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

error for 'Back' navigation..IE  RSS feed

 
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am getting the following error when I click the back navigation button for IE

<<<<<<<<<<<<<<<.>>>>>>>>>>>>>>>>>>>>>>>>>>
Warning: Page has Expired
The page you requested was created using information you submitted in a form. This page is no longer available. As a security precaution, Internet Explorer does not automatically resubmit your information for you.

To resubmit your information and view this Web page, click the Refresh button.
<<<<<<<<<<<<<<<.>>>>>>>>>>>>>>>>>>>>>>>>>>

i did the following:

1) <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="PUBLIC">
2) <%
response.setHeader("Cache-Control","private"); //HTTP 1.1
response.setHeader("Pragma","private"); //HTTP 1.0
%>

it did not solve my problem.

Thanks in advance
 
author & internet detective
Posts: 39280
727
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Puthriah,
What do you want to happen? You told IE not to cache the page in your scriplets. So IE has to show a message about the page not being available.
 
Srinivasa Kadiyala
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want the page to display the contents when I click on the back button.

Appreciate if you correct my scriplet and advise
 
Srinivasa Kadiyala
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I changed the scriplet from private to public and also I wrote no-cache in filters. I removed that and is working fine.

Thanks a lot for finding my mistake.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!