# session_set_save_handler

- Thread: https://externals.io/message/14109
- Original archive: https://news-web.php.net/php.internals/14109
- Started by Richard Thomas on 2004-12-17T17:02:05+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #14109 — Richard Thomas — 2004-12-17T17:02:05+00:00

URL: https://externals.io/message/14109#14109

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
