session expires earlier on community auth |
Good day skunk, where can i find the procedures that add and view session data from mysql database. all i can see is.... Code: __ci_last_regenerate|i:1518568247;auth_identifiers|s:83:"a:2:{s:7:"user_id";s:10:"1307276232";s:10:"login_time";s:19:"2018-02-14 01:30:47";}"; i wish to add username and user's name.. (02-13-2018, 05:57 PM)oscar1925 Wrote: You may possibly be mixing up the terms for the data that is in the database vs the data that is in the session. If you want to add data to the session, see the CodeIgniter documentation for the session library. If you want to see the user data after a user has logged in, see the Community Auth documentation for authentication variables: https://community-auth.com/documentation...-variables If you want to add custom authentication variables, you'll need to extend some of the methods in Auth_Controller by putting your altered versions of those methods in MY_Controller. |
Welcome Guest, Not a member yet? Register Sign In |