to prevent client side web page caching

Discussion in 'ASP General' started by Santhi, Oct 3, 2003.

  1. Santhi

    Santhi Guest

    Hi,
    I wish to avoid caching asp pages at the user end .
    Currently I have declared Response.Expires=0 at the top
    of my asp page. I have also used the following meta tags
    to prevent client side caching
    <meta HTTP-EQUI="PRAGMA" CONTENT="NO-CACHE"></meta> but
    still the pages are cached at the client side.

    Any help or suggesstion would be greatly appreciated to
    fix this issue

    Thanks,
    Santhi
     
    Santhi, Oct 3, 2003
    #1
    1. Advertising

  2. Santhi

    Ray at Guest

    Try this.
    http://www.aspfaq.com/2022

    Ray at work

    "Santhi" <> wrote in message
    news:016201c389d5$6704e800$...
    > Hi,
    > I wish to avoid caching asp pages at the user end .
    > Currently I have declared Response.Expires=0 at the top
    > of my asp page. I have also used the following meta tags
    > to prevent client side caching
    > <meta HTTP-EQUI="PRAGMA" CONTENT="NO-CACHE"></meta> but
    > still the pages are cached at the client side.
    >
    > Any help or suggesstion would be greatly appreciated to
    > fix this issue
    >
    > Thanks,
    > Santhi
     
    Ray at, Oct 3, 2003
    #2
    1. Advertising

  3. Santhi

    Santhi Guest

    Ray,
    Thanks for the information. It works. Iam intereseted to
    know what type of code is inserted by the server and will
    there be any impact for the pages posted by the current
    page with the header 'no cache'
    Thanks,
    santhi
    >-----Original Message-----
    >Try this.
    >http://www.aspfaq.com/2022
    >
    >Ray at work
    >
    >"Santhi" <> wrote in message
    >news:016201c389d5$6704e800$...
    >> Hi,
    >> I wish to avoid caching asp pages at the user end .
    >> Currently I have declared Response.Expires=0 at the top
    >> of my asp page. I have also used the following meta

    tags
    >> to prevent client side caching
    >> <meta HTTP-EQUI="PRAGMA" CONTENT="NO-CACHE"></meta> but
    >> still the pages are cached at the client side.
    >>
    >> Any help or suggesstion would be greatly appreciated to
    >> fix this issue
    >>
    >> Thanks,
    >> Santhi

    >
    >
    >.
    >
     
    Santhi, Oct 3, 2003
    #3
  4. Santhi

    Bullschmidt Guest

    This works for me:

    Response.Expires = -1000

    Best regards,
    J. Paul Schmidt, Freelance ASP Web Developer
    http://www.Bullschmidt.com
    ASP Design Tips, ASP Web Database Demo, Free ASP Bar Chart Tool...


    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!
     
    Bullschmidt, Oct 3, 2003
    #4
    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. gu4y
    Replies:
    2
    Views:
    408
    Shiv Kumar
    Jan 20, 2004
  2. Boss302
    Replies:
    0
    Views:
    1,052
    Boss302
    Nov 21, 2006
  3. =?Utf-8?B?SmVmZiBCZWVt?=

    Prevent client image caching

    =?Utf-8?B?SmVmZiBCZWVt?=, May 5, 2007, in forum: ASP .Net
    Replies:
    9
    Views:
    370
    MasterGaurav \(www.edujini-labs.com\)
    May 8, 2007
  4. Bogdan
    Replies:
    2
    Views:
    655
    Bogdan
    Jun 9, 2008
  5. A.M-SG
    Replies:
    2
    Views:
    392
    Steven Cheng[MSFT]
    Nov 2, 2005
Loading...

Share This Page