piSessionTimeout - cWebSessionManager

The number of minutes before a session expires

Type: Property

Access: Read/Write

Data Type: Integer

Parameters: None

Syntax
 Property Integer piSessionTimeout

Read Access: Get piSessionTimeout to IntegerVariable
Write Access: Set piSessionTimeout to IntegerVariable/Value


Description

The number of minutes before a session expires.

When an HTTP request comes in, it checks how long ago the previous request came in for this session and if this exceeds the value of this property, the session is marked as invalid and a new session needs to be created. Having a session timeout is a security measure. This check is implemented in the cWebSessionManagerStandard class. Setting this property to 0 will disable the timeout check.

Default is 480.


Note that the lifetime of a session cookie is not influenced by this property, but by piSessionCookieTimeout.