G
Guest
Hi!
I have a multi-layer business application written in VB.NET.
The client can be either a website or a webform communicting with the
bussines-layers through webservices.
In "Client-classes" i'm sometimes using Singletons to "store"
data which is frequently used and should be accessible from all
client-classes.
Now I want to use some kind of global declaration on the server to. I
want to be able to access the same object from all layers
(webservice-Business Rules-Data Layer). I tried to use singletons on
the server to, but realized that all the users and requests shared the
same Singleton object which I don't want.
I have a multi-layer business application written in VB.NET.
The client can be either a website or a webform communicting with the
bussines-layers through webservices.
In "Client-classes" i'm sometimes using Singletons to "store"
data which is frequently used and should be accessible from all
client-classes.
Now I want to use some kind of global declaration on the server to. I
want to be able to access the same object from all layers
(webservice-Business Rules-Data Layer). I tried to use singletons on
the server to, but realized that all the users and requests shared the
same Singleton object which I don't want.