public function register($time = 60)
    {
        $_SESSION['session_id'] = session_id();
        $_SESSION['session_time'] = intval($time);
        $_SESSION['session_start'] = $this->newTime();
    }
public function register($time = 60)
    {
        $_SESSION['session_id'] = session_id();
        $_SESSION['session_time'] = intval($time);
        $_SESSION['session_start'] = $this->newTime();
    }
public function register ( $ time = 60 ) { $ _SESSION [ 'session_id' ] = session_id ( ) ; $ _SESSION [ 'session_time' ] = intval ( $ time ) ; $ _SESSION [ 'session_start' ] = $ this -> newTime ( ) ; }
Register the session.

@param integer $time
Register the session .