3
encrpyted cookieの読み込みに問題があります。デバッグでは、サーバー上のSecurity :: cipher()が何らかの形で壊れていることが明らかになりました。とにかく私はそれを解決することができますか?CakePHP Security :: cipher()がサーバ上で特に動作しない
以下は内訳です。
コード
$value = "Hello World";
$key = Configure::read('Security.salt');
$val = Security::cipher($value, $key);
debug($val);
$ret = Security::cipher($val, $key);
debug($ret);
ローカル
app\views\pages\home.ctp (line 17)
�J��WtJ0�
app\views\pages\home.ctp (line 19)
Hello World
サーバー
app/views/pages/home.ctp (line 17)
x�.��9v��
app/views/pages/home.ctp (line 19)
�{�U��g��O