to prevent client side web page caching

Ask a Question related to ASP, Design and Development.

  1. #1

    Default to prevent client side web page caching

    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 Guest

  2. Similar Questions and Discussions

    1. How to Post back page from Client side code?
      Hi, I am developing a website in ASP.NET. I want to have a client side code to confirm the deletion of some information from backend database. I...
    2. Force page to refresh/prevent caching
      Greetings JGLADNICK. This is referring to your post on CFusion/WebForums of one year ado regarding "Prevent Caching". Have you ever been able to...
    3. Prevent 'Page has expired' when a client hits back to return to a search page
      I have a search page that I want to enable private caching so that when a user hits the back button they dont get the page has expired error. I...
    4. Client side validation in aspx page
      Can anyone tell me how I can perfor client side validation in javascript on a form in an aspx page. All the scripts I use to use in classic asp...
    5. stopping client side caching
      What can be done to keep pages from caching and to hit the server each and every time they are accessed? When our users hit their back button on...
  3. #2

    Default Re: to prevent client side web page caching

    Try this.
    [url]http://www.aspfaq.com/2022[/url]

    Ray at work

    "Santhi" <santhi.dhanasekaran@aa.com> wrote in message
    news:016201c389d5$6704e800$a401280a@phx.gbl...
    > 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 Guest

  4. #3

    Default Re: to prevent client side web page caching

    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.
    >[url]http://www.aspfaq.com/2022[/url]
    >
    >Ray at work
    >
    >"Santhi" <santhi.dhanasekaran@aa.com> wrote in message
    >news:016201c389d5$6704e800$a401280a@phx.gbl...
    >> 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 Guest

  5. #4

    Default Re: to prevent client side web page caching

    This works for me:

    Response.Expires = -1000

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


    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Bullschmidt Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139