Internet Direct (Indy)
Home
PreviousUpNext
TIdHTTPDefaultSessionList Class

Implements a thread-safe container for persistent HTTP sessions.

Pascal
TIdHTTPDefaultSessionList = class(TIdHTTPCustomSessionList);

TIdHTTPDefaultSessionList is a TIdHTTPCustomSessionList descendant that implements the container framework declared in the ancestor class. TIdHTTPDefaultSessionList provides an implementation that uses a TThreadList to store and manage TIdHTPSession object instances. 

TIdHTTPDefaultSessionList overrides abstract virtual methods from the ancestor class to implement the operations needed to maintain the session list, including: 

 

 

TIdHTTPDefaultSessionList extends the ancestor by including the internal RemoveSessionFromLockedList method to provide thread-safe removal of a persistent session object from the internal TThreadList. 

TIdHTTPDefaultSessionList is the type used to represent the TIdHTTPServer.SessionList property in an HTTP server implementation.

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.