Welcome Guest, Not a member yet? Register   Sign In
My session is now BOTH a cookie and in the DB after a3m implementation
#1

[eluser]boltsabre[/eluser]
Hi guys,

I had my sessions set up to use the database, not the native CI cookie solution. This is my current config settings:

Code:
$config['sess_cookie_name'] = 'cisession';
$config['sess_expiration'] = 1800; // 30 mins
$config['sess_expire_on_close'] = TRUE;
$config['sess_encrypt_cookie'] = TRUE;
$config['sess_use_database'] = TRUE;
$config['sess_table_name'] = 'zzz_ci_sessions';
$config['sess_match_ip'] = FALSE;
$config['sess_match_useragent'] = TRUE;
$config['sess_time_to_update'] = 300;

I'd built my own login/logout scripts, when when using the FireFox plugin Webmaster Tools "Clear Session Cookies" it used to completely clear the session, and doing a refresh of the page would redirect me back out of restricted areas, display the "login or register" message, etc.

Now I've just implemented a3m marshmallow on my CI2 website (development), and now I have to also "Delete Domain Cookies" to get my user logged out - I now have my session details writing to the session table AND being stored as a cookie.

Anyone care to wage a guess whats going on here??? Could it be that I've moved from my xampp local host to a virtual host, or something else, I'm completely stumped as I didn't change anything to do with my sessions...


Messages In This Thread
My session is now BOTH a cookie and in the DB after a3m implementation - by El Forum - 04-02-2012, 03:52 PM



Theme © iAndrew 2016 - Forum software by © MyBB