T
tshad
I have a User object that has all the information on the object (firstName,
LastName, email, userName, password, address, gender, dob etc).
I want to only carry in a session variable the logon information (firstName,
LastName, email, userName, password).
Is it best to just carry all the information or create a different object
with just a subset of the information?
I am concerned with efficiency and speed here. If I am carrying a lot of
large objects, I assume that would eat more memory and slow down processing.
Thanks,
Tom
LastName, email, userName, password, address, gender, dob etc).
I want to only carry in a session variable the logon information (firstName,
LastName, email, userName, password).
Is it best to just carry all the information or create a different object
with just a subset of the information?
I am concerned with efficiency and speed here. If I am carrying a lot of
large objects, I assume that would eat more memory and slow down processing.
Thanks,
Tom