M
Mark
Avoiding a connection problem due to network issues is our highest priority
for one of our apps. Hence, we'd like to cache 200 records so they are
available IF a connection wasn't available. However, it's my understanding
that you can cache an object (perhaps a DataSet) for a specified amount of
time. Let's say we cache it for 5 minutes. However, consider the scenario
where a new user comes in 6 minutes after the last cache, so wouldn't the
cached object be garbage collected? What if the connection fails at that
moment? I have NO data ... which is exactly what we're trying to avoid.
How do you recommend we deal with this issue? We could cache the thing all
day, but the data will change with some frequency so we'd like to have
updates as frequently as possible too.
Thanks in advance.
Mark
for one of our apps. Hence, we'd like to cache 200 records so they are
available IF a connection wasn't available. However, it's my understanding
that you can cache an object (perhaps a DataSet) for a specified amount of
time. Let's say we cache it for 5 minutes. However, consider the scenario
where a new user comes in 6 minutes after the last cache, so wouldn't the
cached object be garbage collected? What if the connection fails at that
moment? I have NO data ... which is exactly what we're trying to avoid.
How do you recommend we deal with this issue? We could cache the thing all
day, but the data will change with some frequency so we'd like to have
updates as frequently as possible too.
Thanks in advance.
Mark