Topic Path: Symbol Reference > Classes > TIdHTTPSession Class > TIdHTTPSession Methods > Unlock Method
TIdHTTPSession.Unlock Method

Disables resource protection for the HTTP session.

procedure Unlock;

Unlock is a procedure used to remove resource protect for properties and methods in the HTTP session following a call to Lock

Unlock uses the TIdCriticalSection instance allocated in Create. Unlock exits the TCriticalSection used to prevent multi-threaded access to the object instance properties and methods. 

Use Lock to enable resource protection for the HTTP session.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.