Topic Path: Symbol Reference > Classes > TIdHTTPCustomSessionList Class > TIdHTTPCustomSessionList Methods > CreateUniqueSession Method
TIdHTTPCustomSessionList.CreateUniqueSession Method

Specifies the mechanism used to create a new HTTP asession with a unique session ID for its remote IP address.

function CreateUniqueSession(
    const RemoteIP: String
): TIdHTTPSession; virtual; abstract;

TIdHTTPSession - new HTTP session created for a client connection.

CreateUniqueSession is an abstract virtual TIdHTTPSession function that specifies the mechanism used to ensure that a new session identifier is used for a client connection having the remote IP address specified in RemoteIP. 

All methods in TIdHTTPCustomSessionList are declared as virtual abstract procedures and functions, and must be overridden in a descendant class to provide access to the storage mechanism used for the session list.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.