Subject Re: [IBO] Multiple instansiation of a TdataModulw with IBO
Author Marco Krause
> I need it for Intraweb. I have the very strange behavior, that when
> more than one session was active at a time, after the last session
> has been ended, I get a AV when trying to instanciate the TdataModule
> contain the IBO stuff for the next session.

If your IntraWeb application is multi-threaded, than it is important,
that you have a TIB_Session in your datamodule. From the online-faq:

One thing to ensure is that each thread needs to create a TIB_Session component. Then, when you create the other components, like the TIB_Connection, make that TIB_Session instance the owner of the other IBO components the thread uses.
Make sure the TIB_Session is FIRST in the creation order.

--
Marco Krause