469,936 Members | 2,405 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,936 developers. It's quick & easy.

ASP and cached pages

Hi

I have recently changed web hosts, and am suddenly having the problem that
IE is displaying cached ASP pages, i.e. displaying data base query results
from the first assembly of the asp page. Surely this contravenes the whole
principleof ASP as a dynamically generated page. I didnt get the problem
with my previous host.

What am I to do about this? If it is browser dependent, how can I be sure
that all users have their browsers set correctly. If it is a host problem,
it would be good to have some idea what the problem is before contacting
them. Or is there something I can do within my asp page to ensure that the
current page is the one displayed by the browser?

Thanks in advance for your help. Hugh
Jul 19 '05 #1
4 1546
Use
Response.Expires
or add custom headers like "pragma", "no cache"
or use cachecontrol

Mex
"Hugh Welford" <hu**********@btinternet.com> wrote in message
news:uW**************@TK2MSFTNGP09.phx.gbl...
Hi

I have recently changed web hosts, and am suddenly having the problem that
IE is displaying cached ASP pages, i.e. displaying data base query results
from the first assembly of the asp page. Surely this contravenes the whole
principleof ASP as a dynamically generated page. I didnt get the problem
with my previous host.

What am I to do about this? If it is browser dependent, how can I be sure
that all users have their browsers set correctly. If it is a host problem,
it would be good to have some idea what the problem is before contacting
them. Or is there something I can do within my asp page to ensure that the
current page is the one displayed by the browser?

Thanks in advance for your help. Hugh

Jul 19 '05 #2
Thanks Mex Very helpful Hugh
"Meelis Lilbok" <me*@hot.ee> wrote in message
news:O8**************@TK2MSFTNGP12.phx.gbl...
Use
Response.Expires
or add custom headers like "pragma", "no cache"
or use cachecontrol

Mex
"Hugh Welford" <hu**********@btinternet.com> wrote in message
news:uW**************@TK2MSFTNGP09.phx.gbl...
Hi

I have recently changed web hosts, and am suddenly having the problem that IE is displaying cached ASP pages, i.e. displaying data base query results from the first assembly of the asp page. Surely this contravenes the whole principleof ASP as a dynamically generated page. I didnt get the problem
with my previous host.

What am I to do about this? If it is browser dependent, how can I be sure that all users have their browsers set correctly. If it is a host problem, it would be good to have some idea what the problem is before contacting
them. Or is there something I can do within my asp page to ensure that the current page is the one displayed by the browser?

Thanks in advance for your help. Hugh


Jul 19 '05 #3
http://www.aspfaq.com/2022

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"Hugh Welford" <hu**********@btinternet.com> wrote in message
news:uW**************@TK2MSFTNGP09.phx.gbl...
Hi

I have recently changed web hosts, and am suddenly having the problem that
IE is displaying cached ASP pages, i.e. displaying data base query results
from the first assembly of the asp page. Surely this contravenes the whole
principleof ASP as a dynamically generated page. I didnt get the problem
with my previous host.

What am I to do about this? If it is browser dependent, how can I be sure
that all users have their browsers set correctly. If it is a host problem,
it would be good to have some idea what the problem is before contacting
them. Or is there something I can do within my asp page to ensure that the
current page is the one displayed by the browser?

Thanks in advance for your help. Hugh

Jul 19 '05 #4
Thank you Aaron
"Aaron Bertrand [MVP]" <aa***@TRASHaspfaq.com> wrote in message
news:eT**************@TK2MSFTNGP12.phx.gbl...
http://www.aspfaq.com/2022

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"Hugh Welford" <hu**********@btinternet.com> wrote in message
news:uW**************@TK2MSFTNGP09.phx.gbl...
Hi

I have recently changed web hosts, and am suddenly having the problem that IE is displaying cached ASP pages, i.e. displaying data base query results from the first assembly of the asp page. Surely this contravenes the whole principleof ASP as a dynamically generated page. I didnt get the problem
with my previous host.

What am I to do about this? If it is browser dependent, how can I be sure that all users have their browsers set correctly. If it is a host problem, it would be good to have some idea what the problem is before contacting
them. Or is there something I can do within my asp page to ensure that the current page is the one displayed by the browser?

Thanks in advance for your help. Hugh


Jul 19 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

21 posts views Thread by Jay Levitt | last post: by
4 posts views Thread by tonybarker | last post: by
2 posts views Thread by JTS | last post: by
reply views Thread by Adrian Parker | last post: by
2 posts views Thread by Simon Rigby | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.