Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

codeigniter session problem cloudflare #2

Closed
xaiborweb opened this issue Dec 15, 2018 · 1 comment
Closed

codeigniter session problem cloudflare #2

xaiborweb opened this issue Dec 15, 2018 · 1 comment
Labels

Comments

@xaiborweb
Copy link

Hi, 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;
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.

@anburocky3
Copy link
Owner

You have to contact Cloudflare support to sort out the issue. No issue from our side. Everything works fine as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants