Datasnap.DSHTTP.TDSRESTServer.SessionTimeout
Delphi
property SessionTimeout: Integer read FSessionTimeout write FSessiontimeout;
C++
__property int SessionTimeout = {read=FSessionTimeout, write=FSessionTimeout, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Datasnap.DSHTTP.pas Datasnap.DSHTTP.hpp |
Datasnap.DSHTTP | TDSRESTServer |
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.