1

有人可以帮我吗?当我在实时服务器中读取 cookie 时,cookie 在实时服务器中返回加密数据。但在本地 cookie 中返回解密后的数据。Cookie配置如下

$this->Cookie->name = 'rememberMe';
$this->Cookie->secure = false;
$this->Cookie->key = 'key';
$this->Cookie->httpOnly = true;
$this->Cookie->type('rijndael');

我希望 cookie 在读取 cookie 时返回解密数据。任何人都可以帮助我吗?

4

0 回答 0