note 25601 modified in function.ini-set by danbrown
| From: | danbrown@php.net | Date: | Sun, 20 Jul 2008 00:42:41 +0000 |
| Subject: | note 25601 modified in function.ini-set by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-141860@lists.php.net to get a copy of this message | ||
If it's not your server and therefore you want to hide the data in your session variables from
other users, it�s very useful to set the session.save_handler in your scripts to shared memory
with:
<?php ini_set('session.save_handler','mm'); ?>
Remember: You have to set it in every script that uses the session variables BEFORE
"session_start()" or php won't find them.
--was--
If it's not your server and therefore you want to hide the data in your session variables from
other users, it�s very useful to set the session.save_handler in your scripts to shared memory
with:
<?php ini_set('session.save_handler','mm'); ?>
Remember: You have to set it in every script that uses the session variables BEFORE
"session_start()" or php won't find them.
http://php.net/manual/en/function.ini-set.php