Several requests from different users would use the method at a time since
it is static.
However there is one ASP.NET session per user and one user can only trigger
one event at a time. Would still be a problem ?

Another question: Suppose I decide to use Session Management provided by NH
v 1.2 with the strategy One-Session-Per-Request. One session will open in
the beginning of the request and be closed at the end. But what about
transactions ? How do you handle this ?
I can not commit changes if there were exceptions during the request.


On Fri, Aug 14, 2009 at 11:19 AM, Tuna Toksoz <[email protected]> wrote:

>
> NH session in HttpSession is not a good idea in that case. Several requests
> using the same session at the same time will yield in an exception in your
> case.
> Tuna Toksöz
> Eternal sunshine of the open source mind.
>
> http://devlicio.us/blogs/tuna_toksoz
> http://tunatoksoz.com
> http://twitter.com/tehlike
>
>
>
>
> On Fri, Aug 14, 2009 at 5:16 PM, Humberto Marchezi 
> <[email protected]>wrote:
>
>> Session
>
>
>
> >
>


-- 
Humberto C Marchezi
---------------------------------------------------------
Master in Electrical Engineering - Automation
Software Consultant and Developer
at the Town Hall of Vitória

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" 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/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to