Say you want to share some resource, like a class or a variable across all threads/sessions within a ASP.NET web application. What is better?
1) A static variable having thread-safe accessors to that static variable?
2) Or a ASP.NET application session variable?