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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With