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

using enterprise library cache application block in COM+

P: n/a
Hi,

I want to cache some stable user information on client side for later use
by VB clients, so I implement enterprise library cache application block in
COM+ serviced component which is developed in C#. I can save and retrieve it
in short time period. The issue is the data will be expired in a few minutes
even if I set the expiration to datatime.maxvalue. Here is code:

cacheManager.Add(key, val, CacheItemPriority.Normal, null, new
AbsoluteTime(DateTime.MaxValue));

Could anyone tell me how to make the cached data alive forever till the
caller remove it?

Thanks.
Dec 6 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.