free e- mail
thaimail
hotmail
yahoo
siam2you
thammasat
Home
Visual Basic
Active Server Page
JavaScript
Network
Other
Active Server Pages.
Lock Method
Application Object
All Objects
All Properties
METHOD: Application.Unlock
Application.
Unlock
The
Unlock
method is used to explicitly unlock the variables in the
Contents
collection of the
Application
object.
In contrast, the
Lock
method prevents all other users from changing any of the variables in the
Contents
collection of the
Application
object. This ability to lock is required since
Application
objects are designed to be shared among an unlimited number of users. Therefore, you need the ability to allow only one user at a time to make changes and you do this by locking everybody else out.
Remember, to completely unlock an object, you must call
Unlock
the same number of times you have called
Lock
. Fortunately, the server will automatically unlock all locks placed on the object when the script times out or the .asp file ends.
Code:
<%
Application.Unlock
%>
Copyright 2000 by Infinite Software Solutions, Inc.
Trademark Information
ASP - Link
ASP reference
B
C
D
E
F
G
Last update:
Copyright © 2001.Memo Wil@keo everything that I like Co.,Ltd.