Datasnap.DSHTTP.TDSRESTServer.SessionTimeout

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: public
Source:
Datasnap.DSHTTP.pas
Datasnap.DSHTTP.hpp
Unit: Datasnap.DSHTTP
Parent: TDSRESTServer

Delphi

property SessionTimeout: Integer read FSessionTimeout write FSessiontimeout;

C++

__property int SessionTimeout = {read=FSessionTimeout, write=FSessionTimeout, nodefault};

Description

Specifies the time, in milliseconds, for which a session remains valid.

The SessionTimeout property specifies the time, in milliseconds, for which the session can remain inactive without expiring. As activity on the session is performed, the session is renewed, and the countdown starts over again.

Note: After the time specified by SessionTimeout passes, the session is marked as expired and eventually removed. If a value of zero (0) is specified, the session never expires.

See Also