note 95525 deleted from function.session-set-save-handler by danbrown
| From: | danbrown@php.net | Date: | Thu, 07 Jan 2010 17:19:42 +0000 |
| Subject: | note 95525 deleted from function.session-set-save-handler by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-164748@lists.php.net to get a copy of this message | ||
Note Submitter: 1004dan
----
Storing SESSION data in DB is still possible.
Just use register_shutdown_function like this.
session_start();
register_shutdown_function( "session_write_close" );
This works fine for PHP 5.3.1