• 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
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Jj Roberts
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Himai Minh
  • Carey Brown
  • salvin francis

IE 5.5 Page Reload Issues

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I hit back (or JavaScript history.back())
to go back to my JSP page, it does not reload.
I've tried the classic
<%
response.setHeader("Pragma", "No-cache");
response.setDateHeader("Expires",0);
response.setHeader("Cache-Control", "no-cache");
%>
but this does NOT work on IE 5.5.
Any ideas?
 
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Paul:
While I don't know the answer readily, I know that such topics have come up in the forum before. Instead of waiting for someone (more knowledgeable than me.. ), if I could suggest, I would recommend the search tool. Search keywords like for "reload" or "no cache" in the JSP or the Servlets forum.
Also you can't post a link to the search results, so I can't perform the search for you, I would if I could.
Good Luck and Welcome to Javaranch.
- satya
 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just try this in your html that is output. It will prevent caching by the browser.
<META HTTP-EQUIV="expires" CONTENT="0">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">

or this to refresh you page automatically.
<META HTTP-EQUIV="Refresh" CONTENT="0">
reply
    Bookmark Topic Watch Topic
  • New Topic