Welcome Guest, Not a member yet? Register   Sign In
Session conflict?
#1

[eluser]freshface[/eluser]
Hey,

For my backend and frontend I need to use sessions to know when a user is logged in or not.

For both front and backend I use this config

Code:
$config['sess_cookie_name']        = 'ci_session';
$config['sess_expiration']        = 7200 * 12;
$config['sess_encrypt_cookie']    = FALSE;
$config['sess_use_database']    = TRue;
$config['sess_table_name']        = 'ci_sessions';
$config['sess_match_ip']        = FALSE;
$config['sess_match_useragent']    = FALSE;
$config['sess_time_to_update']     = 300;

When I change from back to frontend (an the otherway around) I am always logged out.
Do i need to use different tables?

Regards.

Frederik


Messages In This Thread
Session conflict? - by El Forum - 04-06-2009, 09:54 AM
Session conflict? - by El Forum - 04-06-2009, 10:18 AM
Session conflict? - by El Forum - 04-06-2009, 10:19 AM
Session conflict? - by El Forum - 04-06-2009, 10:41 AM
Session conflict? - by El Forum - 04-06-2009, 11:28 AM
Session conflict? - by El Forum - 04-06-2009, 11:32 AM
Session conflict? - by El Forum - 04-06-2009, 11:47 AM



Theme © iAndrew 2016 - Forum software by © MyBB