Internet Direct (Indy)
Home
PreviousUpNext
TIdHTTPSession Class

Implements a persistent HTTP Session.

Pascal
TIdHTTPSession = class(TObject);

TIdHTTPSession is a TObject descendant that implements a HTTP Session. TIdHTTPSession provides support for maintaining persistent HTTP session and state for TIdCustomHTTPServer and TIdHTTPServer implementations. 

TIdHTTPSession is used with TIdHTTPCustomSessionList and TIdHTTPDEfaultSessionList to provide persistent HTTP session management using the SessionID property and the "IDSESSIONID" Cookie. 

TIdHTTPSession uses an internal TIdCriticalSection instance to provide resource protection (using Lock and Unlock) in multi-threaded HTTP server implementations. 

SessionID is the unique identifier for the HTTP session. 

LastTimestamp is the date and time that the HTTP session was last modified. 

RemoteHost is the address of the remote computer using the HTTP session. 

Content is a storage area for string values that can be used to form HTTP request and/or response messages. 

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.