Created
December 24, 2011 19:32
-
-
Save perusio/1518163 to your computer and use it in GitHub Desktop.
Better cookies using /dev/urandom
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
; Add this to your php.ini. E.g., to /etc/php5/fpm/php.ini (with PHP-FPM on Debian based systems). | |
; Increase the entropy of your session token. The default setting is 0 (disabled). | |
session_entropy_length = 32 | |
; OS based random data generator as source for entropy. | |
session.entropy_file = /dev/urandom |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment