Beginner |
|
Joined: Wed Oct 18, 2006 4:41 am Posts: 20 Location: West Yorkshire, UK
|
Hi there,
I have set up second level caching on a non-web based data project using Prevalance. The log4net files indicate that items are being cache. I couldn't add the prevalanceBase property in with my normal NHibernate properties so added it programatically: Configuration.Properties.Add("prevalenceBase", "\\cachedData");
My main question is how do I set the expiration time for objects in the cache? I've trawled the net and am really struggling to find an answer... should the property 'cache.default_expiration' work, and how can I tell if it is or not?
Thanks in advance, Carl
|
|