Hi, i have saved a cookie as encrypted for auto login but when i read
it back and debug it is still encrypted
anyone know how to decrypt?
Code:
Writing the cookie...
$cookie = array(
'user_email' => $this->data['User']['user_email'],
'user_password' => $this->data['User']['user_password']
);
$this->Cookie->write('Auth.User', $cookie, true, '+2 weeks');
Reading it back and debugging...
$cookie = $this->Cookie->read('Auth.User');
debug($cookie);
Output:
app\controllers\users_controller.php (line 59)
�[��w�čH��h ��{'� ���1�X~\��T� �Y ٦0 /P � v"��� WK��Pިaw� (� � �(�j]
G�ٴI�
Thanks in advance
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en