Skip to content
Related Articles

Related Articles

Improve Article
ASP Unlock Method
  • Last Updated : 27 Jan, 2021

The ASP Unlock Method is used to giving permission to other users for changes the variable which is stored in the application object after it has been locked.  If the Unlock method is not called explicitly, the server unlocks the locked Application object when the script ends or times out.

Syntax:

Application.Unlock

Parameter Values: This method does not contain any value.

Return Value: It has not returned any value.  

Example: Below code unlocks the security.




<%
Application.Lock
Application("visits")=Application("visits")+1
Application.Unlock
%> 
My Personal Notes arrow_drop_up
Recommended Articles
Page :