|
Posted by usenet on 03/14/06 18:27
Hi all,
I've created a custom session handler that saves session data to a
MySQL database. If the database server is down, I'd like to fallback to
PHP's default session handler (files) until the server comes back up.
After calling session_set_save_handler(), is there a way to tell PHP to
ignore this setting and revert to temp files for session storage? If I
try an ini_set on session.save_handler upon detecting that the DB
server is down, it doesn't work because the session is already active.
Thanks
Navigation:
[Reply to this message]
|