note 9317 deleted from session_set_save_handler by jmcastagnetto
| From: | jmcastagnetto@php.net | Date: | Sat, 28 Oct 2000 11:59:36 +0000 |
| Subject: | note 9317 deleted from session_set_save_handler by jmcastagnetto | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-7113@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