X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;ds=sidebyside;f=includes%2Fsession%2FSessionBackend.php;h=7956e9fecb848aeaadbac752e3c75d3d440a4940;hb=429a9896298b582330d017c0ccb23cc57a9f0e16;hp=58163c6f3dbc1033c9126de1485882bfc7eafa19;hpb=e0a3801da297d012fc67f2c128ab7e57e20f0571;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/session/SessionBackend.php b/includes/session/SessionBackend.php index 58163c6f3d..7956e9fecb 100644 --- a/includes/session/SessionBackend.php +++ b/includes/session/SessionBackend.php @@ -50,15 +50,25 @@ final class SessionBackend { /** @var SessionId */ private $id; + /** @var bool */ private $persist = false; + + /** @var bool */ private $remember = false; + + /** @var bool */ private $forceHTTPS = false; /** @var array|null */ private $data = null; + /** @var bool */ private $forcePersist = false; + + /** @var bool */ private $metaDirty = false; + + /** @var bool */ private $dataDirty = false; /** @var string Used to detect subarray modifications */ @@ -76,6 +86,7 @@ final class SessionBackend { /** @var User */ private $user; + /** @var int */ private $curIndex = 0; /** @var WebRequest[] Session requests */ @@ -87,13 +98,21 @@ final class SessionBackend { /** @var array|null provider-specified metadata */ private $providerMetadata = null; + /** @var int */ private $expires = 0; + + /** @var int */ private $loggedOut = 0; + + /** @var int */ private $delaySave = 0; + /** @var bool */ private $usePhpSessionHandling = true; + /** @var bool */ private $checkPHPSessionRecursionGuard = false; + /** @var bool */ private $shutdown = false; /** @@ -612,7 +631,7 @@ final class SessionBackend { * Save the session * * Update both the backend data and the associated WebRequest(s) to - * reflect the state of the the SessionBackend. This might include + * reflect the state of the SessionBackend. This might include * persisting or unpersisting the session. * * @param bool $closing Whether the session is being closed