note 19996 added to function.session-set-save-handler

From: Date: Mon, 18 Mar 2002 17:00:48 +0000
Subject: note 19996 added to function.session-set-save-handler
Groups: php.notes 
Request: Send a blank email to php-notes+get-27915@lists.php.net to get a copy of this message
You need to be careful writing your session read function - it *must* return an empty string ("") if there is nothing to read (e.q. no session or the session expired) - NOT "false". I had a lot of trouble with PHP causing segmentation faults in Apache until I fixed this. Ying's MySQL session handling functions on PHPBuilder have this error: http://www.phpbuilder.com/columns/ying20000602.php3 -- http://www.php.net/manual/en/function.session-set-save-handler.php http://master.php.net/manage/user-notes.php?action=edit+19996 http://master.php.net/manage/user-notes.php?action=delete+19996 http://master.php.net/manage/user-notes.php?action=reject+19996

« previous php.notes (#27915) next »