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. {{#multireplace:Datasnap.DSHTTP.TDSHTTPServerTransport.SessionTimeout|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Datasnap.DSHTTP.TCustomDSRESTServerTransport.SessionTimeout|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Datasnap.DSHTTP.TCustomDSRESTServerTransport.SessionTimeout|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
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.