prevent page caching

Discussion in 'Java' started by Cesare Caldieron, Aug 23, 2004.

  1. Hi all,

    i have some problems to prevent page caching in jsp. Usually, i mean
    with IE 5.5, i use this code

    response.setHeader("Cache-Control","no-cache, no-store");
    response.setHeader("Pragma","no-cache");
    response.setDateHeader("Expires",-1);

    and it works fine. But recently i noted that this doesn't work with IE
    6.0 SP1.

    Any ideas?

    Thanks in advance for your help
    cesare
     
    Cesare Caldieron, Aug 23, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. R. Ian Lee

    Prevent Browser Caching for a Page

    R. Ian Lee, Oct 22, 2003, in forum: ASP .Net
    Replies:
    3
    Views:
    8,366
    Jacob Yang [MSFT]
    Oct 23, 2003
  2. Troy Simpson

    Fragment Caching inside page caching?

    Troy Simpson, Jan 19, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    844
    Troy Simpson
    Jan 19, 2004
  3. MG
    Replies:
    7
    Views:
    572
    Michael
    Mar 23, 2007
  4. Mike S
    Replies:
    1
    Views:
    628
    Mike S
    Aug 24, 2010
  5. Santhi

    to prevent client side web page caching

    Santhi, Oct 3, 2003, in forum: ASP General
    Replies:
    3
    Views:
    159
    Bullschmidt
    Oct 3, 2003
Loading...

Share This Page