Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to prevent caching in IE 6  RSS feed

 
nandkishor rao
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Can anyone tell me how I prevent caching in Internet Exploere 6.0.
I have tried using meta tag in my jsp but it doesn't work.
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
<META Http-Equiv="Pragma" Content="no-cache">
<META Http-Equiv="Expires" Content="-1">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">

I found out that this deosn't works with IE 5 and above.
 
Pat Flickner
Ranch Hand
Posts: 173
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Can anyone tell me how I prevent caching in Internet Exploere 6.0.
I have tried using meta tag in my jsp but it doesn't work.
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
<META Http-Equiv="Pragma" Content="no-cache">
<META Http-Equiv="Expires" Content="-1">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">


You say you're using a JSP, so try this:

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!