tags:

views:

70

answers:

1

I'm using HashtableCacheProvider as NHibernate second level cache provider for my web application. The problem is that it seems that NHibernate keeps cached data even if I restart my IIS. I thought that cached data will disappear when in that case. Can someone explain how does this thing work, and how can I clear the second level cache while using HashtableCacheProvider? Thanks!

A: 

You shouldn't be using HashtableCacheProvider in production.

http://nhforge.org/doc/nh/en/index.html#cacheproviders

Thomas