I've just read this thread which discusses code to create an NHibernate SessionFactory object statically from a helper class:
Ensure NHibernate SessionFactory is only created once
What is the lifecyle of a static member variable in an ASP.NET application? Does it exist as long as the worker process? Or the ASP.NET session? Or something else?
I'm a little confused by it all to be honest.
Thanks
David