Lock.WebUnlock() Method

Unlock the observatory

Syntax

Lock.WebUnlock(Session)

The method syntax has these parts:

Part Description
Session (Object) the ASP session object for the current user
Return (Boolean) True if the unlock was successful, else False

Remarks

Unlocking will succeed only if (a) the observaroty is currently locked, and (b) if the holder of the lock is the requesting user (per the passed ASP Session object). Note that if the requesting user has let the web interface remain idle for the configured ASP Session Timeout period, the observatory will unlock itself, and subsequent Lock.WebUnlock() calls by that user will fail. The session will not time out if a script is running, even if no web activity occurs.