NHibernate.Context.WebSessionContext
, otherwise known as web
session context, plays nicely with ASP.NET, but only up to a point. As soon as I spin up a new thread, it is no longer able to retrieve current session from a HttpContext
since there's actually no HttpContext
for the said thread.
How do you make all this play nicely together?