0 I have an ASP.NET 3.0 application that works fine on one server. It uses application variables to check if a user has checked out a file and locks it for all other users. When I put the application on the load balanced servers, the application didnt work as expected since it multiple users got sent to multiple servers and each user could check out the requred file.
The main point is that, is there any way I can share the application variables in my application even though it is distributed on multiple servers. Or is there a better way to get a global variable?
EDIT: I am checking if a file is checked out by Application["FileLocked"] is true or false