Professional Web Applications Themes

to prevent client side web page caching - ASP

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...

  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. #2

    Default Re: to prevent client side web page caching

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

    Ray at work

    "Santhi" <santhi.dhanasekaranaa.com> wrote in message
    news:016201c389d5$6704e800$a401280aphx.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

  3. #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.dhanasekaranaa.com> wrote in message
    >news:016201c389d5$6704e800$a401280aphx.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

  4. #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

Similar Threads

  1. How to Post back page from Client side code?
    By Ahmad Jalil Qarshi in forum ASP.NET Building Controls
    Replies: 3
    Last Post: October 26th, 10:04 AM
  2. Force page to refresh/prevent caching
    By Conti in forum Macromedia ColdFusion
    Replies: 2
    Last Post: April 29th, 06:05 AM
  3. Replies: 1
    Last Post: August 8th, 03:05 PM
  4. Client side validation in aspx page
    By Paul in forum ASP.NET General
    Replies: 2
    Last Post: August 7th, 03:33 PM
  5. stopping client side caching
    By John Livermore in forum ASP.NET General
    Replies: 2
    Last Post: July 15th, 05:10 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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