Welcome Guest, Not a member yet? Register   Sign In
A tutorial about Ion Auth and authentication in CI3
#17

Hy avenir, same problem for me.

Ion Auth worke great just afetr the login page, then when i refresh the page or try to go in another page, the session is lost.

when i print it i have the displeasure to see the array changing and loosing the identity field.

session array just after login:
Code:
Array
(
   [__ci_last_regenerate] => 1497439902
   [email] => [email protected]
   [user_id] => 1
   [old_last_login] => 1497441769
   [identity] => [email protected]
   [__ci_vars] => Array
       (
           [identity] => old
           [message] => old
       )

   [message] => <p>Ok</p>
)

session after refreshing the page or moving in another page of the loged area:
Code:
Array
(
   [__ci_last_regenerate] => 1497439902
   [email] => [email protected]
   [user_id] => 1
   [old_last_login] => 1497441769
)
 

It's seem i am not the only one facing this strange behavior : ion auth issue
Reply


Messages In This Thread
RE: A tutorial about Ion Auth and authentication in CI3 - by lanoux - 06-14-2017, 06:13 AM



Theme © iAndrew 2016 - Forum software by © MyBB