piSessionCookieTimeout - cWebSessionManager
The number of hours for the session cookie to expire
Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None
Syntax
Property Integer piSessionCookieTimeout
| Access Type | Syntax |
|---|---|
| Read Access: | Get piSessionCookieTimeout to IntegerVariable |
| Write Access: | Set piSessionCookieTimeout to IntegerVariable/Value |
Description
The number of hours for the session cookie to expire.
The default value of 0 makes the cookie a session cookie, which should expire as soon as the browser window is closed. The reason to set this property would be to extend the lifetime of a cookie beyond the browser session. One should take into account that the cookie is not set for each request but only when the session is created, so this value works differently than piSessionTimeout.