Topic Path: Symbol Reference > Classes > TIdHTTPCustomSessionList Class > TIdHTTPCustomSessionList Methods > Clear Method
ContentsIndexHome
PreviousUpNext
TIdHTTPCustomSessionList.Clear Method

Specifies the mechanism used to free HTTP sessions in the session list.

procedure Clear; virtual; abstract;

Clear is an abstract virtual procedure that specifies the mechanism used to remove all TIdHTTPSession objects in the session list. 

All methods in TIdHTTPCustomSessionList are declared as virtual abstract procedures and functions, and must be overridden in a descendant class to provide access to the storage mechanism for sessions in the container. 

Use Add to store a HTTP session in the session list. 

Use CreateSession or CreateUniqueSession to initialize a new session maintained in the session list.

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