you may implement your own session store?

Tuna Toksöz
Eternal sunshine of the open source mind.

http://devlicio.us/blogs/tuna_toksoz
http://tunatoksoz.com
http://twitter.com/tehlike




On Mon, Mar 1, 2010 at 8:44 PM, Makubex <[email protected]> wrote:

> Hi
>
> I am using NHibernateFacility. I am running threads in my service code
> right now. I found out that when the threads are trying to use
> ISessionManager.OpenSession() it is giving me a "WebSessionStore:
> Could not obtain reference to HttpContext" error.
>
> This is a web app, so i have the isWeb attribute of the
> nhibernateFactility set to true. I do realize that if i make this
> false, ISessionManager.OpenSession will work correctly, but any other
> lazy load will blow up.
>
> Is it true that in a thread NHibernateFacility does not retain the
> HttpContext? If so, how do i manually assign the HttpContext of a
> ISessionManager in a thread?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Castle Project Users" group.
> To post to this group, send email to [email protected]
> .
> To unsubscribe from this group, send email to
> [email protected]<castle-project-users%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/castle-project-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en.

Reply via email to