Rev 826 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 826 | Rev 847 | ||
---|---|---|---|
Line 20... | Line 20... | ||
20 | if (!defined('INSIDE_OIDPLUS')) die(); |
20 | if (!defined('INSIDE_OIDPLUS')) die(); |
21 | 21 | ||
22 | class OIDplusSessionHandler extends OIDplusBaseClass implements OIDplusGetterSetterInterface { |
22 | class OIDplusSessionHandler extends OIDplusBaseClass implements OIDplusGetterSetterInterface { |
23 | 23 | ||
24 | private $secret = ''; |
24 | private $secret = ''; |
25 | protected $sessionLifetime = ''; |
25 | protected $sessionLifetime = 0; |
26 | 26 | ||
27 | public function __construct() { |
27 | public function __construct() { |
28 | $this->sessionLifetime = OIDplus::baseConfig()->getValue('SESSION_LIFETIME', 30*60); |
28 | $this->sessionLifetime = OIDplus::baseConfig()->getValue('SESSION_LIFETIME', 30*60); |
29 | $this->secret = OIDplus::baseConfig()->getValue('SERVER_SECRET'); |
29 | $this->secret = OIDplus::baseConfig()->getValue('SERVER_SECRET'); |
30 | 30 |