note 8111 added to session_save_path
| From: | peter at helpnet dot com dot au | Date: | Mon, 28 Aug 2000 03:45:24 +0000 |
| Subject: | note 8111 added to session_save_path | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-3536@lists.php.net to get a copy of this message | ||
session_save_path, Win32 and 4.0.1pl2: I tried passing a database name to user session handlers so I
could use MySQL for the session store. session_save_path() made the database name in to an invalid
string. The result was an access violation, php.exe dumped and the whole network went up in flames.
To access the database name, I had to use strval(session_save_path()). In the end I removed
session_save_path() and used a global variable. See bug report 6375 for all the gory detail.
PS, the network actually caught fire because lighting struck the building while I was diagnosing the
problem. I doubt the lighting was instantiated by the PHP code. :-)
http://www.php.net/manual/function.session-save-path.php