note 9316 added to session_module_name
| From: | tim dot parkin at btinternet dot com | Date: | Fri, 27 Oct 2000 19:56:23 +0000 |
| Subject: | note 9316 added to session_module_name | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-7068@lists.php.net to get a copy of this message | ||
A feature(?) that may not be documented is the fact that when over-riding the session-handler, (not
forgetting to set save_handler in the php.ini file), the session write function is only called AFTER
the apache output stream is closed. What this means is that any debugging, output to screen or
errors thrown within the session_write function WILL NOT GET DISPLAYED. The only way to debug the
session write function is to use error logging to a file (setting in the php.ini file). This managed
to cause me hours of frustration. Hope this helps
http://www.php.net/manual/function.session-module-name.php