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

Cache Problems

P: n/a

It doesn't seem to matter whether I am testing a form or report, my
application keeps caching the previous set of data.

For example, if I edit a database record thru the application, once I
return to see the changes, the original values show unless I refresh.

The same is true with html reports. If I enter search criteria, the
report shows, but it is the PREVIOUS query it shows, not the new one.
If I then refresh the page, the correct query results display.

I have tried:
Response.Cache.SetExpires(DateTime.Now.AddSeconds( 1))
Response.Cache.SetCacheability(HttpCacheability.Pu blic)

This doesn't seem to solve my problem.

Any ideas as to why everything keeps caching?

ServerOS: Windows 2000 Server. Database: SqlServer 7.

I didn't provide source code as this happens application-wide.

Thanks in advance for your assistance.
Nov 18 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.