S
semsem22
hello, i m new to ASP.NET, but have experience with VB6....i have a couple of questions about the use of a module and the decleration of public objects in the module vs the use of sessions
the main issue i am concerned with is performance....i would like to create a public object called Client, then i can set its properties from a Database, and have that object alive for the duration of the user's interaction with the system.....which helps me a great deal because i use the properties of the client object quite alot, i also want to create a public object of type Dataset that i can fill and test on from anywhere in the application.....however, i am concerned that as the system becomes more popular, and there are a number of concurrent users, that may be a strain on the server's memory to have global objects for each user....is this correct, or have i miss understood this?
in my search for answers, i have come across the use of session states, to hold objects or variables...is this better in terms of performance than using global objects, and if so, how can retrieve a specific property of an object stored in a session variable
any help would be appreciated, thank you very much
sameh
From http://www.developmentnow.com/g/8_2003_11_0_3_0/dotnet-framework-aspnet.ht
Posted via DevelopmentNow.com Group
http://www.developmentnow.com
the main issue i am concerned with is performance....i would like to create a public object called Client, then i can set its properties from a Database, and have that object alive for the duration of the user's interaction with the system.....which helps me a great deal because i use the properties of the client object quite alot, i also want to create a public object of type Dataset that i can fill and test on from anywhere in the application.....however, i am concerned that as the system becomes more popular, and there are a number of concurrent users, that may be a strain on the server's memory to have global objects for each user....is this correct, or have i miss understood this?
in my search for answers, i have come across the use of session states, to hold objects or variables...is this better in terms of performance than using global objects, and if so, how can retrieve a specific property of an object stored in a session variable
any help would be appreciated, thank you very much
sameh
From http://www.developmentnow.com/g/8_2003_11_0_3_0/dotnet-framework-aspnet.ht
Posted via DevelopmentNow.com Group
http://www.developmentnow.com