API:Datasnap.DSHTTP.TDSHTTPServerTransport.SessionTimeout
Delphi
property SessionTimeout: Integer read GetSessionTimeout write SetSessionTimeout default 1200000;
C++
__property SessionTimeout = {default=1200000};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Datasnap.DSHTTP.pas Datasnap.DSHTTP.hpp |
Datasnap.DSHTTP | TDSHTTPServerTransport |
Description
Specifies the time, in milliseconds, for which a session remains valid.
Datasnap.DSHTTP.TDSHTTPServerTransport.SessionTimeout inherits from Datasnap.DSHTTP.TCustomDSRESTServerTransport.SessionTimeout. All content below this line refers to Datasnap.DSHTTP.TCustomDSRESTServerTransport.SessionTimeout.
Specifies the time, in milliseconds, for which a session remains valid.
The SessionTimeout property specifies the time, in milliseconds, for which a session remains valid.
Note: After the specified time passes, the session is marked as expired and is eventually removed. If 0 is specified, the session never expires.