Having a really odd problem with sessions. |
[eluser]code3r[/eluser]
I really can't figure this out it is so bizarre. I use Cloudflare's protection services to mask my ip. I have also installed a mod_cloudflare so that the incomming user ips are not masked. I am a bit of a beginner with Codeigniter so help would be so greatly appreciated! Anyways heres my sessions configuration: Code: $config['sess_cookie_name'] = 'vmcsession'; When my Cloudflare protection is enabled, 3 sessions will be created therefor preventing my login script from working. These are all created when the login button is pressed. However, when my domain is pointed directly to my server with no proxy ip, one session will be created and my login function works fine. I can donate via paypal to someone who helps me solve this
[eluser]Kyle Johnson[/eluser]
I've seen several sessions generated for one person as well. It might be that the User Agent field is too short (update your ci_session.user_agent to varchar(200) or something similar)
[eluser]code3r[/eluser]
I appreciate the replies. The script is working fine as long as the domain is pointed directly to the server. This is the part that makes no sense. I really need this problem fixed help is so greatly appreciated.
[eluser]Unknown[/eluser]
Hello, I had the same problem and I solved it by using: https://github.com/EllisLab/CodeIgniter/...sion-Class I don't know exactly what the explication is, but it works. |
Welcome Guest, Not a member yet? Register Sign In |