Internet Direct (Indy) Version 9.0.2 Beta
TIdHTTPDefaultSessionList.Add
Adds a persistent HTTP session to the thread-safe container.

procedure Add(ASession: TIdHTTPSession); override;
Parameters
ASession: TIdHTTPSession
HTTP session to be added to the container.

Description
Add is an overridden procedure in TIdHTTPDefaultSessionList, and adds the persistent HTTP session specified in ASession to the thread-safe container. Add calls the TThreadList.Add method to store ASession in the thread list.

Use GetSession to retrieve a session added to the container using Add.

Use RemoveSession to delete a session from the container.