Cache Problems

D

Darren Smith

Hello,

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

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.
 

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

Similar Threads

cache 2
Setting Cache-Control to Public in WebHandler does not work 1
Clear cache? 3
cache problem 2
Cache 1
Confused with Output cache set programmatically 0
Expire IE browser cache, again. 4
Asp.Net App Cache 0

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top