Internet Direct (Indy) Version 9.0.2 Beta
TIdHTTPCustomSessionList.CreateUniqueSession
Specifies the mechanism used to create a new HTTP asession with a unique session ID and remote IP address.

function CreateUniqueSession(const RemoteIP: String): TIdHTTPSession; virtual; abstract;
Parameters
const RemoteIP: String
IP address or host name for the remote connection.

Returns
TIdHTTPSession - new HTTP session created for a client connection.

Description
CreateUniqueSession is an abstract virtual TIdHTTPSession function that specifies the mechanism used to insure a new HTTP session is created for a client connection having the remote IP address specified in RemoteIP. 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.