note 10325 added to Session handling functions
| From: | j at rtchat dot com | Date: | Thu, 28 Dec 2000 01:49:02 +0000 |
| Subject: | note 10325 added to Session handling functions | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-9141@lists.php.net to get a copy of this message | ||
To get more secure session IDs, here is what I use on GNU/linux :
ini_alter("session.cookie_lifetime", "86400");
ini_alter("session.entropy_file","/dev/urandom");
ini_alter("session.entropy_length", "512");
http://www.php.net/manual/ref.session.php