Internet Direct (Indy)
Home
PreviousUpNext
TIdHTTPCustomSessionList.CreateUniqueSession Method

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

Pascal
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.

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.