Internet Direct (Indy) Version 9.0.2 Beta
TIdHTTPCustomSessionList.PurgeStaleSessions
Removes expired sessions from the session list.

procedure PurgeStaleSessions(PurgeAll: Boolean); virtual; abstract;
Parameters
PurgeAll: Boolean = false
Indicates all stale sessions are to be removed.

Description
PurgeStaleSessions is an abstract virtual procedure that specifies the mechanism used to remove HTTP session where the LastTimestamp and SessionTimeout properties indicate that the session has expired. Note: All methods in TIdHTTPCustomSessionList are declared as virtual abstract procedures and functions, and must be overridden in a descendant class to provide the session management capabilities required.