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.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.