• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.