How to use $this->methodname in PHP session_set_save_handle?

gerolacho

New Member
I have a Session class that has all my on_session_write, on_session_read etc. methods inside the class. In my constructor function i have it initiate the \[code\]session_set_save_handler("on_session_start", "on_session_end", "on_session_read", "on_session_write", "on_session_destroy", "on_session_gc");\[/code\]and also session_start() within this my only problem is the methods need to be called using $this-> because everything is within the class. How do i accomplish this?
 
Back
Top