Update the cache/application

  • Thread starter Steffen Loringer
  • Start date
S

Steffen Loringer

Hi group,

what is the recommended way to get updates? My application stores some
information in the Page.Application state which are originally created
from another SQL2000Server.
How can I notify my Server with the ASP.NET process if there is a change
of the data on the SQL2000Server?

Thanks
Steffen
 
H

Hans Kesting

Steffen Loringer said:
Hi group,

what is the recommended way to get updates? My application stores some
information in the Page.Application state which are originally created
from another SQL2000Server.
How can I notify my Server with the ASP.NET process if there is a change
of the data on the SQL2000Server?

Thanks
Steffen

While it doesn't *solve* your problem, at least this will make it
less urgent:

Don't use Application to store this data, but use Cache, along with a
fixed timeout of a few minutes. If there is a lot of traffic on the site,
most will benefit from the cached data and that data is not more than
a few minutes "out of date".

Search for "cachedependency" and "database" for better solutions.


Hans Kesting
 

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

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top