[eluser]Xavier D.[/eluser]
next step
i've created an extra table ci_sessions like mentioned in the userguide.
$config['sess_cookie_name'] = 'ci_session';
$config['sess_expiration'] = 7200;
$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'] = TRUE;
$config['sess_time_to_update'] = 300;
sess_expiration = 7200sec (2 hours) if someone stays longer then 2 hours, he logged out ...
not good, because I think, the session_id expiration, needs to restart after every click on the website.
Other thing, when loggin out, manuel or by expiration, the ci_sessions table creates a new row, what can become very missy is you have 1K or more users ...
Do I need to manuel delete the rows?
Also, user_id is not stored in the sessions database, seems to be needed if you want to authentication and return the user_id.
I tried to set expiration and time to update to 5 sec. logging out after 5 sec.
only time to update on 5 seconds, ci creates new session id every 5 seconds.
It is nog clear for me ... is this a bug?
thx for your help!