Computer PPSC
________ methods are used with application object to ensure only one process accesses a variable at a time
Explanation
In classic ASP, the Application object provides Lock and Unlock methods. Lock ensures that only one process or user accesses an application variable at a time, and Unlock releases it afterwards.
Related facts:
Application variables are shared by all users.
Lock prevents simultaneous changes by multiple requests.
Unlock must follow Lock to release the variable.
Exam tip: Use Application.Lock and Application.Unlock for shared variables.