Internet Direct (Indy)
Home
PreviousUpNext
TIdCustomHTTPServer.SessionState Property

Indicates that the server uses persistent HTTP sessions.

Pascal
property SessionState: Boolean;

SessionState is a Boolean property that indicates persistent sessions are used by the HTTP server to service requests from peer threads. SessionState is used by CreateSession to determine if a new persistent session is created and added to the session list. 

SessionState is used to get the cookie value for a session, and to determine if a persistent session matching the 'IDHTTPSESSIONID' cookie and Remote IP address should be retrieved from the session list. 

The default value for SessionState is Id_TId_HTTPServer_SessionState, as assigned during initialization of the component.

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.