Created
August 17, 2012 02:24
-
-
Save notomato/3375391 to your computer and use it in GitHub Desktop.
Encrypt and sign cookies
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Session::config(array( | |
'default' => array( | |
'adapter' => 'Cookie', | |
'strategies' => array( | |
'Hmac' => array( | |
'secret' => '$f00bar$' | |
), | |
'Encrypt' => array( | |
'secret' => '$f00bar$' | |
) | |
) | |
) | |
)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment