There is no way to programatically register HttpModule except changing web.config which causes a reload of application. This can be done, but i don't like to do it anyway :) isWeb chooses WebContextSessionStore(or name similar) as sessionStore which is then used by NHIntegration Http Module to close/dispose/commit stuff.
Tuna Toksöz http://tunatoksoz.com http://twitter.com/tehlike Typos included to enhance the readers attention! On Mon, Feb 9, 2009 at 12:07 AM, Symon Rottem <[email protected]> wrote: > > Sorry Tuna, > > Didn't get your reply until after I sent my last message. Yes - it > works! > > Strange...isn't the SessionWebModule registered by the > NHibernateIntegration facility if the isWeb="true" attribute is > present? I wouldn't have thought it was necessary to also register it > in the web.config. > > Anyway - as a workaround that's perfect. Thanks for your help! > > Cheers, > > Symon. > > On Feb 8, 10:18 pm, Tuna Toksoz <[email protected]> wrote: > > Did what i say work for you? > > > > Tuna Toksözhttp://tunatoksoz.comhttp://twitter.com/tehlike > > > > Typos included to enhance the readers attention! > > > > On Sun, Feb 8, 2009 at 10:15 PM, Symon Rottem <[email protected]> > wrote: > > > > > It just took me a while to find the time to put together something a > little > > > simpler. Hopefully it helps. > > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
