[eluser]Unknown[/eluser]
Hi,
I'm interested in developing a session handler that uses Redis rather than MySQL to store session data. I'm not sure what the right place is to intervene to add this functionality to CI.
I took a look at the development branch on GitHub and noticed that there are now session drivers, so I thought I could write a driver. But I also noticed that my driver would differ from Session_cookie.php only in blocks of the form
Code:
if ($this->sess_use_database === TRUE)
{
...
}
and I'd avoid code duplication if possible.
Perhaps Session_cookie.php could support different plugins for doing CRUD operations on different underlying DBs?
Thanks