public function setSecret($name, $value, $expire = 604800, $path = '/', $domain = '')
    {
        $value = \ePHP\Hash\Encrypt::encryptG($value, md5($_SERVER['HTTP_HOST'].APP_PATH.SERVER_MODE));
        $this->set($name, $value, $expire, $path, $domain);
    }
public function setSecret($name, $value, $expire = 604800, $path = '/', $domain = '')
    {
        $value = \ePHP\Hash\Encrypt::encryptG($value, md5($_SERVER['HTTP_HOST'].APP_PATH.SERVER_MODE));
        $this->set($name, $value, $expire, $path, $domain);
    }
public function setSecret ( $ name , $ value , $ expire = 604800 , $ path = '/' , $ domain = '' ) { $ value = \ ePHP \ Hash \ Encrypt :: encryptG ( $ value , md5 ( $ _SERVER [ 'HTTP_HOST' ] . APP_PATH . SERVER_MODE ) ) ; $ this -> set ( $ name , $ value , $ expire , $ path , $ domain ) ; }
Set Secret cookie

@param string $name cookie name
@param mixed  $value
@param int $expire default 604800s(7days)
@param string $path default /
@param string $domain default empty
@return null
Set Secret cookie