I have this really weird problem and I\'m sure I\'m missing something obvious here. I have these two lines:
HttpContext.Current.Session[listModelType + \"Lis
In the first example your session variable is pointing to a reference so it gets updated because the two references are pointing to the same value.
reference
The second session variable is pointing to a primitive (value) type so they have separate copies of value.
primitive (value)