In NHibernate, what is the difference between ManagedWebSessionContext and WebSessionContext ? Which is best to use, and why ?
Based on the description found here, I cannot tell the difference.
In NHibernate, what is the difference between ManagedWebSessionContext and WebSessionContext ? Which is best to use, and why ?
Based on the description found here, I cannot tell the difference.
I had the same question recently and as far as I could determine ManagedWebSessionContext has been deprecated and may be removed in version 3.0. Using WebSessionContext allows you to use the same session creation API with web, thread static, and call context sessions, and that's a compelling reason to choose it over ManagedWebSessionContext.