Internet Direct (Indy)
Home
PreviousUpNext
TIdHTTPCustomSessionList.Add Method

Specifies the mechanism used to add an HTTP session to the session list.

Pascal
procedure Add(
    ASession: TIdHTTPSession
); virtual; abstract;
Parameters 
Description 
ASession 
HTTP session to add to the container. 

Add is an abstract virtual method that specifies the method used to add the HTTP session in ASession to 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 CreateSession or CreateUniqueSession to initialize a new session maintained in the session list. 

Use Clear to remove all sessions stored in the list.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.