Application.Lock methodApplication object.Application.Lock' ... modify application object ...Application.Unlock
To avoid concurrency issues (such as a race
condition), always lock the application before altering the
Application.Contents collection (except
in the Application_onStart event handler
in global.asa file).
All other ASP blocks in the entire application will wait while the application is locked.