I have ASP.NET web site using “inproc” as session management in single server. Now, I need to put the web site to two servers in web farm (behind load-balanced environment). We learned that “inproc” mode would not work anymore in the web farm environment. So, I am looking at the option to switch from “inproc” to SQL server mode. Also, I learned that it is not just matter of updating the web.config (Of course, creating SQL database). Since, I am saving datatable, user defined classes, List,… to the session variables. I understand that I have to make user defined classes as serializable (just put [Serializable] in the class) and .NET will take care the rest (I don’t have to put a code explicitly to handle this).
Is this correct? And, what about other “special” type such as DataTable, List, how do I make them seraizable?
Thanks.