M
Markus Prediger
Hi NG,
I have an asp.net project that uses an vb6 com object for some
database-manipulation (I cannot rewrite it in .net, sorry, its not my
decision).
I want it to be instanciated seperately for each session, so that three
users can connect to three different databases. But I get crazy because:
-With interop all users share one instance - pure chaos (the instance is
guilty for the whole app grrrrrmmmmml...)
-integrated it in global.asax and using the static objects collection forces
me to change the whole code to get access and I have to be sure to write
correct code from my mind because there is no code completion...
Is there a way to have the object in my project with interop and having it
for each session seperatly and not about the whole application?
thx,
best regards,
Markus Prediger
I have an asp.net project that uses an vb6 com object for some
database-manipulation (I cannot rewrite it in .net, sorry, its not my
decision).
I want it to be instanciated seperately for each session, so that three
users can connect to three different databases. But I get crazy because:
-With interop all users share one instance - pure chaos (the instance is
guilty for the whole app grrrrrmmmmml...)
-integrated it in global.asax and using the static objects collection forces
me to change the whole code to get access and I have to be sure to write
correct code from my mind because there is no code completion...
Is there a way to have the object in my project with interop and having it
for each session seperatly and not about the whole application?
thx,
best regards,
Markus Prediger