Frees the object instance.
destructor Destroy; override;
Destroy is an overridden procedure that acts as the destructor for the object instance. Destroy is responsible for handling persistent session clean-up and freeing resources allocated for properties in the HTTP session.
Destroy triggers the OnSessionEnd event handler that signals the session should be removed from the session list that own the HTTP session.
Destroy frees and releases resources allocated to the Content property.
When the Owner of the session is assigned, the RemoveSession method for the TIdHTTPCustomSessionList instance is called to remove the current session from the session list.
Destroy calls the inherited destructor proper to exiting from the method.
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.