protected function setCookie($name, $value)
	{
		// add the current time so we have an offset
		$expiration = $this->expiration > 0 ? $this->expiration + time() : 0;

		return setcookie($name, $value, $expiration, $this->config['cookie_path'], $this->config['cookie_domain'], $this->config['cookie_secure'], $this->config['cookie_http_only']);
	}
protected function setCookie($name, $value)
	{
		// add the current time so we have an offset
		$expiration = $this->expiration > 0 ? $this->expiration + time() : 0;

		return setcookie($name, $value, $expiration, $this->config['cookie_path'], $this->config['cookie_domain'], $this->config['cookie_secure'], $this->config['cookie_http_only']);
	}
protected function setCookie ( $ name , $ value ) { // add the current time so we have an offset $ expiration = $ this -> expiration > 0 ? $ this -> expiration + time ( ) : 0 ; return setcookie ( $ name , $ value , $ expiration , $ this -> config [ 'cookie_path' ] , $ this -> config [ 'cookie_domain' ] , $ this -> config [ 'cookie_secure' ] , $ this -> config [ 'cookie_http_only' ] ) ; }
Sets a cookie. Note that all cookie values must be strings and no
automatic serialization will be performed!

@param string $name
@param string $value

@return boolean
Sets a cookie . Note that all cookie values must be strings and no automatic serialization will be performed!