Welcome Guest, Not a member yet? Register   Sign In
flexi auth - A user authentication library for CodeIgniter

[eluser]haseydesign[/eluser]
Quote:i have tested many time for this when i login with remember me,
after i close the browser, and reopen the browser, it will logout all sessions.

@tonyhk via Github - https://github.com/haseydesign/flexi-auth/issues/12

This currently seems to be working fine for me in Chrome and FF.

So you can test yourself, I have 'temporarily' changed the live demo so that the config setting 'logout_user_onclose' = FALSE.

To test, do the following:
1: Login with 'Remember Me' checked @ http://haseydesign.com/flexi-auth/auth.
2: Check your login status @ http://haseydesign.com/flexi-auth/auth_l...e_examples (You should be logged in)
3: Close your browser completely - not just the tab.
4: Reopen the browser @ http://haseydesign.com/flexi-auth/auth_l...e_examples
5: You should be still logged in via 'Remember Me'

The important setting you have to ensure are set is the $config['security']['logout_user_onclose'] = FALSE; within the flexi auth config file.
The other important setting is $config['sess_expire_on_close'] = FALSE; within the CI config file.


Messages In This Thread
flexi auth - A user authentication library for CodeIgniter - by El Forum - 02-24-2013, 01:40 AM



Theme © iAndrew 2016 - Forum software by © MyBB