Welcome Guest, Not a member yet? Register   Sign In
Having a really odd problem with sessions.
#1

[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';
$config['sess_expiration']  = 7200;
$config['sess_expire_on_close'] = FALSE;
$config['sess_encrypt_cookie'] = FALSE;
$config['sess_use_database'] = TRUE;
$config['sess_table_name']  = 'ci_sessions';
$config['sess_match_ip']  = TRUE;
$config['sess_match_useragent'] = FALSE;
$config['sess_time_to_update'] = 300;

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.
[Image: 6557fbb21cbda33531ec33ef3e0bea29.png?1362628511]

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


Messages In This Thread
Having a really odd problem with sessions. - by El Forum - 03-06-2013, 08:58 PM
Having a really odd problem with sessions. - by El Forum - 03-07-2013, 02:55 PM
Having a really odd problem with sessions. - by El Forum - 03-07-2013, 06:32 PM
Having a really odd problem with sessions. - by El Forum - 03-07-2013, 06:39 PM
Having a really odd problem with sessions. - by El Forum - 03-09-2013, 01:39 PM
Having a really odd problem with sessions. - by El Forum - 11-05-2013, 08:29 AM



Theme © iAndrew 2016 - Forum software by © MyBB