Anytime you change the object variable that is already assigned to a session variable, do you need to "re-save" the variable back into the session variable or does it do it automatically?
// abc is an object of some random type
Session["abc"] = abc; // initial declaration of session variable.
abc.a=1; // updated abc.a field after a button_click event
Session["abc"] = abc; // resave the new field value of 'a' back into the session variable 'abc'.
Or does the session variable already keep track of all changes made to the object and saves automatically?
View Complete Post