The Ultimate ASP.NET Session State Debugging Tool

Do you use ASP.NET? ASP.NET MVC? Any kind of Session storage? Any kind of Out-of-Proc storage (like State Server, or SQL Server Session Storage) for web servers in a web farm?

Do you have problems with it? Yes, you do. Microsoft makes it painful. You must make MachineKey match. You must make the IIS W3SVC ID match. You must pray it doesn’t break when you restore your metabase config. You realize some virtual directories work, while others don’t. Some servers, browsers, load balancers, work while others don’t.

Now, do yourself a favor, stop hammering your sysadmin, and get the code below. Continue reading “The Ultimate ASP.NET Session State Debugging Tool”