@Francis Application Lock was used in IIS 6.0 application to Lock the values/variable stored in Application object. This is not applied anymore. See Details here: https://msdn.microsoft.com/en-us/library/ms525184(v=vs.90).aspx
an application object in order to ensure that only one process accesses a variable at a time?
Your question is not clear. Assume that, you want to protect the "application" variable, which is accessed by many threads. In that case, you can use the below code:
Amit ChoudharyPosted Nov 25, 2015, 2:49 PM
Francis SusaimichaelPosted Nov 25, 2015, 2:25 PM
an application object in order to ensure that only one process accesses a variable at a time?
Amit ChoudharyPosted Nov 25, 2015, 1:52 PM