what happen if the user open two tabs in the same browser instance (I mean what we do most of time).In each tab the user run what he think are two independent business-transaction. You having only one NH-Session in the httpSession ergo the two tabs are working sharing the same NH-session. What mean "the last win" I don't know... perhaps I don't want know.
btw if it is fine for you there is no problem for me. 2009/9/15 danyelleon <[email protected]> > > Fabio: > > I read about this (session-per-request and session-per-conversation) > and chose the second for the "facility" of work flow. > You say: "If you choose session-per-request you should choose another > tech. to save partial invalid data in a "long" business transaction." > > How i do it? i want to test this aproach. > > The isue that you point out i not can confirm because i never have > pending actions more than edit recors. In this case, i try and the > result is "the last win" aproach. And its fine for me. > > On Sep 15, 12:31 am, Fabio Maulo <[email protected]> wrote: > > It depend.Mostly, and especially for high-level-traffic site, the best > way > > is open-session-in-view (aka session-per-request).If you > > choose session-per-request you should choose another tech. to save > partial > > invalid data in a "long" business transaction. > > > > Have you confirmed the issue ? > > > > 2009/9/15 danyelleon <[email protected]> > > > > > > > > > > > > > > > > > Hi > > > > > What way you recomend for implement session managemet of nhibernate in > > > web enviroment? > > > > > Thanks, > > > Danyel. > > > > > On Sep 13, 6:44 pm, Fabio Maulo <[email protected]> wrote: > > > > 2009/9/13 danyelleon <[email protected]> > > > > > > > i try. This work fine for me (the nhibernate part) > > > > > > mmmmm.... two tabs will share the same NH session, if you having > pending > > > > actions one flush will mean flush both use-case. > > > > > > -- > > > > Fabio Maulo > > > > -- > > Fabio Maulo- Hide quoted text - > > > > - Show quoted text - > > > -- Fabio Maulo --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
