note 10191 added to session_set_save_handler
| From: | ben at efros dot com | Date: | Tue, 19 Dec 2000 01:28:11 +0000 |
| Subject: | note 10191 added to session_set_save_handler | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-8866@lists.php.net to get a copy of this message | ||
If you are trying to debug this session handler stuff, please note that the "write"
handler is never executed until AFTER the apache stream is closed. So you can't really debug
stuff unless you save all output to a file somewhere on the filesystem.
The advantages to only calling "write" once is that it will save cpu cycles and also save
your database server if you are saving to a db.
http://www.php.net/manual/function.session-set-save-handler.php