Open In App

ASP Unlock Method

Last Updated : 27 Jan, 2021
Improve
Improve
Like Article
Like
Save
Share
Report

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
%> 



Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads