Warning: session_set_save_handler()- Argument 5 is not a valid callback

liunx

Guest
Hi All,

I am using PHP 5 and defined a class for session management .. In that clas i called the session_set_save_handler() method with the argument functions in the constructor of the class.
I defined the argument methods in the class itself...

In the excution time i am getting an error like
"

Warning: session_set_save_handler() [function.session-set-save-handler]: Argument 5 is not a valid callback in /opt/lampp/htdocs/eccounts/usersession.phpm on line 38

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /opt/lampp/htdocs/eccounts/usersession.phpm:38) in /opt/lampp/htdocs/eccounts/usersession.phpm on line 81

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /opt/lampp/htdocs/eccounts/usersession.phpm:38) in /opt/lampp/htdocs/eccounts/usersession.phpm on line 81

"

How can i solve this problem? Plz help me?
Plz comment on this, this will help me a lot....
Thanks in advance...

DhanyaThe first error is the one you need to fix, don't worry about the others yet.

Make sure that the session_set_save_handler() refers to a valid callback function. (Without seeing any code it's impossible to be more explicit about what to look for.)
 
Back
Top