Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 01, 2013 11:15 AM by sameer_khanjit
Contributor
3421 Points
1189 Posts
Jan 01, 2013 02:14 AM|LINK
I am populating a Cache data item that expires after 15 minutes with absolute expiration. Is it possible to know when was this Cache item last populated in C# code-behind?
Thanks
Star
7504 Points
1466 Posts
Jan 01, 2013 11:15 AM|LINK
I think we cannot check when item get refreshed.
Becaouse
1) There is no property in cache related classes.
2) There is no call back function when chache is updated or inserted, as we have call back function when cache about to remove or removed.
3)There is no method in cache as well as in cache dependency class, as it has properti when dependecy changed.
sun21170
Contributor
3421 Points
1189 Posts
How to know when a Cache item was last refreshed?
Jan 01, 2013 02:14 AM|LINK
I am populating a Cache data item that expires after 15 minutes with absolute expiration. Is it possible to know when was this Cache item last populated in C# code-behind?
Thanks
sameer_khanj...
Star
7504 Points
1466 Posts
Re: How to know when a Cache item was last refreshed?
Jan 01, 2013 11:15 AM|LINK
I think we cannot check when item get refreshed.
Becaouse
1) There is no property in cache related classes.
2) There is no call back function when chache is updated or inserted, as we have call back function when cache about to remove or removed.
3)There is no method in cache as well as in cache dependency class, as it has properti when dependecy changed.
sameer.khanjit@gmail.com
View Blog
Click "Mark as Answer" on the post that helped you.