I'm using Ion Auth social
https://github.com/ghosthouse/CodeIgniter-Ion-Auth-Social
and throughout my web check if the user has a session started or not.
if ($ this-> ion_auth-> logged_in ()) {
}
For this reason in /application/config/autoload.php charge
$ autoload ['libraries'] = array ('ion_auth');
in my localhost everything is perfect, but in my website protected with cloudflare, create multiple sessions just with this:
__ci_last_regenerate | i: 1544893031;
creates more than 50 sessions per second with just this info which overloads my sql, obviously it is a problem of codeigniter sessions with cloudflare, I have already created the request in the codeigniter github but it does not seem to matter to them.
So I'm wondering if you can share an option / solution, so that only one codeigniter session is created when the user logs in Ion Auth.
Thank you.