Welcome Guest, Not a member yet? Register   Sign In
codeigniter session duplicate with cloudflare
#1

Hi, I'm using Ion Auth social
https://github.com/ghosthouse/CodeIgnite...uth-Social

and throughout my web check if the user has a session started or not.
PHP Code:
if ($ this-> ion_auth-> logged_in ()) {

For this reason in /application/config/autoload.php charge

PHP Code:
autoload ['libraries'] = array ('ion_auth'); 

in my localhost everything is perfect, but in my website protected with cloudflare, create multiple sessions just with this:

PHP Code:
__ci_last_regenerate i1544893031

create more than 50 sessions per second only with this info which overloads my sql, I think it is a problem of CodeIgniter sessions with cloudflare.

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.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB