Creates a new HTTP asession with a unique session ID and remote IP address.
function CreateUniqueSession( const RemoteIP: String ): TIdHTTPSession; override;
Parameters |
Description |
RemoteIP |
IP address or host name for the remote connection. |
TIdHTTPSession - new HTTP session created for a client connection.
CreateUniqueSession is an overridden TIdHTTPSession function used to ensure 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 identifier used in the HTTP session, and calls CreateSession when the RemoteIP and SessionID combination is guaranteed to be unique.
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
|
Post feedback to the Indy Docs Newsgroup.
|