src/Phossa2/Session/Driver/CookieDriver.php
protected function syncCookies()
    {
        foreach ($this->cookies as $name => $id) {
            if (null === $id) {
                setcookie($name, '', time() - 3600);
            } else {
                setcookie(
                    $name,
                    $id,
                    $this->ttl ? (time() + $this->ttl) : 0,
                    $this->path,
                    $this->domain,
                    $this->secure,
                    $this->httponly
                );
            }
        }
    }
protected function syncCookies()
    {
        foreach ($this->cookies as $name => $id) {
            if (null === $id) {
                setcookie($name, '', time() - 3600);
            } else {
                setcookie(
                    $name,
                    $id,
                    $this->ttl ? (time() + $this->ttl) : 0,
                    $this->path,
                    $this->domain,
                    $this->secure,
                    $this->httponly
                );
            }
        }
    }
protected function syncCookies ( ) { foreach ( $ this -> cookies as $ name => $ id ) { if ( null === $ id ) { setcookie ( $ name , '' , time ( ) - 3600 ) ; } else { setcookie ( $ name , $ id , $ this -> ttl ? ( time ( ) + $ this -> ttl ) : 0 , $ this -> path , $ this -> domain , $ this -> secure , $ this -> httponly ) ; } } }
Sync session cookies with the client

@access protected
Sync session cookies with the client