function session_lifespan( $ttl = null, $hibernate = null ){
		$current = $this->sess_ttl;
		if( $ttl !== null ){
			$this->sess_ttl = $ttl;
		}
		if( $hibernate !== null ){
			$this->sess_hibernate = $hibernate;
		}
		return $current;
	}
function session_lifespan( $ttl = null, $hibernate = null ){
		$current = $this->sess_ttl;
		if( $ttl !== null ){
			$this->sess_ttl = $ttl;
		}
		if( $hibernate !== null ){
			$this->sess_hibernate = $hibernate;
		}
		return $current;
	}
function session_lifespan ( $ ttl = null , $ hibernate = null ) { $ current = $ this -> sess_ttl ; if ( $ ttl !== null ) { $ this -> sess_ttl = $ ttl ; } if ( $ hibernate !== null ) { $ this -> sess_hibernate = $ hibernate ; } return $ current ; }
Define how many times object can be deserialized from session before it is dead
@param int objects time-to-live
@param bool optional hibernation flag, freezes lifespan when class definition not available
@return int previous lifespan
Define how many times object can be deserialized from session before it is dead