Internet Direct (Indy) Version 9.0.1 Beta
TIdHTTPDefaultSessionList.CreateUniqueSession
Creates a new HTTP asession with a unique session ID and remote IP address.

function CreateUniqueSession(const RemoteIP: String): TIdHTTPSession; override;
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 a TIdHTTPSession function that is ued to insure a new HTTP session is created for a client connection having the remote IP address specified in RemoteIP. CreateUniqueSession generates a random value for the session identifer used in the HTTP session, and calls to Create session when the RemoteIP and SessionID combination is guaranteed to be unique.