remove cached page in browser

Discussion in 'ASP General' started by Emily, Jan 16, 2006.

  1. Emily

    Emily Guest

    I have three asp pages. The initial page is login.asp, it goes to page hello.asp. And hello.asp goes to page another.asp. If it goes back from hello.asp to login.asp, then in Internet Explorer, clicking on Back, the cache of the page hello.asp has been removed, which is the effect that I want. If it goes back from another.asp to login.asp, and then in Internet Explorer, clicking on Back, the page another.asp still remains. The top of asp codes for hello.asp and another.asp are the same:response.expires=0
    response.expiresabsolute=now()-1
    response.addheader "pragma","no-cache"
    response.addheader "cache-control","private"
    response.cachecontrol="no-cache"
    session("permission")=true
    response.buffer=true
    Please tell me how I can let another.asp not being cached in browser. Thanks in advance.
    Emily, Jan 16, 2006
    #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. feng
    Replies:
    3
    Views:
    10,290
    Teemu Keiski
    Feb 8, 2004
  2. Craig G
    Replies:
    0
    Views:
    384
    Craig G
    Mar 7, 2005
  3. =?Utf-8?B?bG9uZG9uIGNhbGxpbmc=?=

    force asp.net to remove cached page literals asp.net 1.1

    =?Utf-8?B?bG9uZG9uIGNhbGxpbmc=?=, Jul 4, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    540
    =?Utf-8?B?bG9uZG9uIGNhbGxpbmc=?=
    Jul 5, 2005
  4. ABCL
    Replies:
    1
    Views:
    523
    Masudur
    Mar 22, 2007
  5. Emily

    remove cached page in browser

    Emily, Jan 16, 2006, in forum: ASP General
    Replies:
    3
    Views:
    122
    Evertjan.
    Jan 16, 2006
Loading...

Share This Page