Welcome Guest, Not a member yet? Register   Sign In
authentication session id
#3

[eluser]Xavier D.[/eluser]
$config['sess_expiration'] = 0;
$config['sess_time_to_update'] = FALSE;

My solutions, keep session persistent and store the session_id in the users database, before you ask for users details, you do a check if the user_id and session_id are corresponding to each other.

true -> returns user_id
false -> returns 0 and user gets logged out.

seems like the only solution.


Messages In This Thread
authentication session id - by El Forum - 08-17-2008, 03:53 PM
authentication session id - by El Forum - 08-19-2008, 04:02 AM
authentication session id - by El Forum - 08-19-2008, 06:03 AM



Theme © iAndrew 2016 - Forum software by © MyBB