note 37710 added to function.session-set-save-handler
| From: | coco at digitalco2 dot com | Date: | Sun, 23 Nov 2003 20:59:18 +0000 |
| Subject: | note 37710 added to function.session-set-save-handler | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-60893@lists.php.net to get a copy of this message | ||
When using mySQL for your session handling functions, don't forget to call mysql_select_db() to
change the database if you are using a separate database for your session data. Call
mysql_select_db() INSIDE every handler function that accesses the database, since if you write
session data after accessing another database, it will not change the database to your session
database, and therefore, not write the session data.
----
Manual Page -- http://www.php.net/manual/en/function.session-set-save-handler.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+37710
Delete -- http://master.php.net/manage/user-notes.php?action=delete+37710&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+37710&report=yes
Search -- http://master.php.net/manage/user-notes.php