- Code: Select all
if (!empty($_SESSION[$this->_namespace]) && $this->_sessionStarted)
The first check is unnecessary because both are set in the start() method. The second condition is sufficient and probably faster than the first one.
DooPHP IRC channel
if (!empty($_SESSION[$this->_namespace]) && $this->_sessionStarted)Users browsing this forum: No registered users and 0 guests