[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