roundcubemail/program/lib/Roundcube/rcube_session.php
public function set_lifetime($lifetime)
    {
        $this->lifetime = max(120, $lifetime);

        // valid time range is now - 1/2 lifetime to now + 1/2 lifetime
        $now = time();
        $this->now = $now - ($now % ($this->lifetime / 2));
    }
public function set_lifetime($lifetime)
    {
        $this->lifetime = max(120, $lifetime);

        // valid time range is now - 1/2 lifetime to now + 1/2 lifetime
        $now = time();
        $this->now = $now - ($now % ($this->lifetime / 2));
    }
public function set_lifetime ( $ lifetime ) { $ this -> lifetime = max ( 120 , $ lifetime ) ; // valid time range is now - 1/2 lifetime to now + 1/2 lifetime $ now = time ( ) ; $ this -> now = $ now - ( $ now % ( $ this -> lifetime / 2 ) ) ; }
Setter for session lifetime
Setter for session lifetime