session_set_save_handler
| From: | Richard Thomas | Date: | Fri, 17 Dec 2004 17:02:05 +0000 |
| Subject: | session_set_save_handler | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-14109@lists.php.net to get a copy of this message | ||
Right now the only way to change the serialize_handler is through php.ini or ini_set. Would it not make sense to have this part of session_set_save_hanlder and allow people to register there own functions or even no function at all for this?
One usefull example of this, someone using a database to session information might want to store and update session variables 1 at a time to reduce the amount of data passed around in large sessions. At this time the only way to do that is to unserialize the data on writes and serialize the data on reads manually.
--
Richard Thomas - CEO
Cyberlot Technologies Group Inc.
507.398.4124 - Voice