Simple question, but after several hours of searching I haven't found a simple answer. Is there an easy way to share global variables amongst all of the sessions in an ASP.NET MVC 4 website running on multiple servers?
On a single server, I'd just create a static class with appropriate thread synchronization wrapped around the member accessors. But that obviously doesn't synchronize between servers.
You'd think that since it's so easy to save per-session state and have it magically synched between servers that you'd be able to do the same thing with application state. But the stuff I've read all says that application state is server-local.