lib/Lime/Helper/Cookie.php
public function set($name, $value, $ttl = 86400 /* 1 day */, $path = '/', $domain = '', $secure = false, $http_only = false) {
        $this->_cookies[$name] = $value;
        $result = \setcookie($name, $value, time() + $ttl, $path, $domain, $secure, $http_only);

        if (isset($this->_deleted_cookies[$name])) {
            unset($this->_deleted_cookies[$name]);
        }

        return $result;
    }
public function set($name, $value, $ttl = 86400 /* 1 day */, $path = '/', $domain = '', $secure = false, $http_only = false) {
        $this->_cookies[$name] = $value;
        $result = \setcookie($name, $value, time() + $ttl, $path, $domain, $secure, $http_only);

        if (isset($this->_deleted_cookies[$name])) {
            unset($this->_deleted_cookies[$name]);
        }

        return $result;
    }
public function set ( $ name , $ value , $ ttl = 86400 /* 1 day */ , $ path = '/' , $ domain = '' , $ secure = false , $ http_only = false ) { $ this -> _cookies [ $ name ] = $ value ; $ result = \ setcookie ( $ name , $ value , time ( ) + $ ttl , $ path , $ domain , $ secure , $ http_only ) ; if ( isset ( $ this -> _deleted_cookies [ $ name ] ) ) { unset ( $ this -> _deleted_cookies [ $ name ] ) ; } return $ result ; }
sets a cookie

@param string $name
@param string $value
@param mixed $ttl
@param string $path
@param string $domain
@param bool $secure
@param bool $http_only
@return bool
sets a cookie