By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,275 Members | 1,131 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,275 IT Pros & Developers. It's quick & easy.

to prevent client side web page caching

P: n/a
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
Jul 19 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Try this.
http://www.aspfaq.com/2022

Ray at work

"Santhi" <sa*****************@aa.com> wrote in message
news:01****************************@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

Jul 19 '05 #2

P: n/a
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" <sa*****************@aa.com> wrote in message
news:01****************************@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

.

Jul 19 '05 #3

P: n/a
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!
Jul 19 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.