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