Data Pages Out of Date

  • Thread starter Thread starter Kevin
  • Start date Start date
K

Kevin

Have done a small database page for use with MSDE. Problem is when new data
entered the browser seems to store an old version and shows the old data. Is
there any way to force a browser to re-load the page on each visit?
 
Am using
Response.Expires = 0
Response.CacheControl = "Private"

Assumed was browser cache??

Kevin
 
Kevin,

Neither of those will affect a Firewall cache system. Do you have a fire wall cache?
 
No - IE6 via a 3COM ISDN router, that uses NAT.

MD Websunlimited said:
Kevin,

Neither of those will affect a Firewall cache system. Do you have a fire wall cache?
 
Hi,
you could try
<%
Response.ExpiresAbsolute = #2000-01-01#
Response.AddHeader "pragma", "no-cache"
Response.AddHeader "cache-control", "private, no-cache, must-revalidate"
%>

This is about the best you can do

Jon
Microsoft MVP - FP
 
If the ASP page is producing data then it should display the new page results.
 
Thanks Mike

I know it should - but please tell IE6 that!! :)

Suggestion by Jon to add this:-
Response.ExpiresAbsolute = #2000-01-01#
Response.AddHeader "pragma", "no-cache"
Response.AddHeader "cache-control", "private, no-cache, must-revalidate"

Seems to be helping - so guess is caching in IE6

Kevin
 
Okay.


Kevin said:
Thanks Mike

I know it should - but please tell IE6 that!! :)

Suggestion by Jon to add this:-
Response.ExpiresAbsolute = #2000-01-01#
Response.AddHeader "pragma", "no-cache"
Response.AddHeader "cache-control", "private, no-cache, must-revalidate"

Seems to be helping - so guess is caching in IE6

Kevin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top