public function start()
    {
        if ($this->started === false) {
            $this->sessionIdentifier = Algorithms::generateRandomString(32);
            $this->storageIdentifier = Algorithms::generateUUID();
            $this->sessionCookie = new Cookie($this->sessionCookieName, $this->sessionIdentifier, 0, $this->sessionCookieLifetime, $this->sessionCookieDomain, $this->sessionCookiePath, $this->sessionCookieSecure, $this->sessionCookieHttpOnly);
            $this->lastActivityTimestamp = $this->now;
            $this->started = true;

            $this->writeSessionMetaDataCacheEntry();
        }
    }
public function start()
    {
        if ($this->started === false) {
            $this->sessionIdentifier = Algorithms::generateRandomString(32);
            $this->storageIdentifier = Algorithms::generateUUID();
            $this->sessionCookie = new Cookie($this->sessionCookieName, $this->sessionIdentifier, 0, $this->sessionCookieLifetime, $this->sessionCookieDomain, $this->sessionCookiePath, $this->sessionCookieSecure, $this->sessionCookieHttpOnly);
            $this->lastActivityTimestamp = $this->now;
            $this->started = true;

            $this->writeSessionMetaDataCacheEntry();
        }
    }
public function start ( ) { if ( $ this -> started === false ) { $ this -> sessionIdentifier = Algorithms :: generateRandomString ( 32 ) ; $ this -> storageIdentifier = Algorithms :: generateUUID ( ) ; $ this -> sessionCookie = new Cookie ( $ this -> sessionCookieName , $ this -> sessionIdentifier , 0 , $ this -> sessionCookieLifetime , $ this -> sessionCookieDomain , $ this -> sessionCookiePath , $ this -> sessionCookieSecure , $ this -> sessionCookieHttpOnly ) ; $ this -> lastActivityTimestamp = $ this -> now ; $ this -> started = true ; $ this -> writeSessionMetaDataCacheEntry ( ) ; } }
Starts the session, if it has not been already started

@return void
@api
@deprecated This method is not deprecated, but be aware that from next major a cookie will no longer be auto generated.
@see CookieEnabledInterface
Starts the session if it has not been already started