The site I'm renovating writes session data to their database using the session_set_save_handler function as follows:
session_set_save_handler (array(&$ses_class, '_open'),
array(&$ses_class, '_close'),
array(&$ses_class, '_read'),
array(&$ses_class, '_write'),
array(&$ses_class, '_destroy'),
array(&$ses_class, '_gc'));
I have the _open, _close, etc. functions log any calls they receive to the error_log file but upon opening I only see calls to _write and _close. Why would these be the only functions being called?
Also, depending on the page I'm on the _write function can or cannot write to the database, returning an 'Access denied...(using password: NO)' mysql_error.
I'm at a loss. Any good resources I should look at?