ASP.NET: Is it possible to keep complex object such as list<> is the session?
问题 ASP.NET: Is it possible to keep complex object such as List<object> is the session? If yes, how to do so? I'm trying to keep a list in the session, but I'm being told that I cannot convert that List to a string. EDIT [Serializable] public class Client { public string ClientType { get; set; } public string ClientName { get; set; } public string SubClientName { get; set; } public string Project { get; set; } public string Service { get; set; } public string Activity { get; set; } } List<Client>