note 15060 added to function.session-set-save-handler.php
| From: | Julienc at psychologie-fr dot com | Date: | Sun, 26 Aug 2001 15:46:56 +0000 |
| Subject: | note 15060 added to function.session-set-save-handler.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-17169@lists.php.net to get a copy of this message | ||
Two ideas to fix problems of values not being updated (using flatfile):
- be sure to put sessions file in the right directory (make $sess_save_path global);
- an incomprehensible bug is that using an echo in first line of sess_destroy, sessions aren't
wrote, remove them;
If you are using dbm, note that it often make apache to crash with "FATAL: emalloc(): Unable
to allocate 998768672 bytes" using php 4.0.6.
Another point for php doc will be to explain WHAT we have to return in all functions of
session_set_save_handler.
Thx
- Julien
http://www.php.net/manual/fr/function.session-set-save-handler.php