i would like to extend the Session.php library in Codeigniter.
I would like to use a base64 encoded/decoded session values.
So basically i would like to encode globally all session data before it is setted (session->set_userdata()) and then decode that when is returned (session->userdata('item'))
is it possible?
I'm in trouble how do i fire the moment that the session data is gonna be setted and the moment when the data is gonna be returned?
I'm using the Codeigniter session DB and planning to write MY_Session.php library but can't go on, i'm blocked here:
class MY_Session extends CI_Session{
}
any help appriciated, thanks