Roundcube Community Forum

 

why don't use native session_decode in rcube_session?

Started by kevinlam, August 25, 2013, 11:29:08 PM

Previous topic - Next topic

kevinlam

Is there any reason the team have to implement a custom function (rcube_session::unserialize) to decode the session string?

Why dont use native php session_decode ? We can even protect the $_SESSION variable by copying it to a dummy array before decoding any session string.

The decode/encode action runs every request and the speed of native function is much faster.

Can anyone explain to me?