First, I'm new to ASP so I may be asking something that seems obvious.
Background:
I'm working on a small ASP application that keeps track of state using session variables. The session variables contain objects that belong to a VB6 dll library. There are not any connections to a database. The objects create an XML file that will be parsed by another dll at a later time and imported into a database.
Question:
I'm concerned about having session variables that contain objects.
Which is better?:
1)To have a couple of hundred session variables that you load into an object at the end of your session.
2)To have one session variable that contains a couple of hundred properties that you carry around.
All comments/help is appreciated!
Background:
I'm working on a small ASP application that keeps track of state using session variables. The session variables contain objects that belong to a VB6 dll library. There are not any connections to a database. The objects create an XML file that will be parsed by another dll at a later time and imported into a database.
Question:
I'm concerned about having session variables that contain objects.
Which is better?:
1)To have a couple of hundred session variables that you load into an object at the end of your session.
2)To have one session variable that contains a couple of hundred properties that you carry around.
All comments/help is appreciated!