![]() |
session expires earlier on community auth - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: External Resources (https://forum.codeigniter.com/forumdisplay.php?fid=7) +--- Forum: Addins (https://forum.codeigniter.com/forumdisplay.php?fid=13) +--- Thread: session expires earlier on community auth (/showthread.php?tid=66939) Pages:
1
2
|
RE: session expires earlier on community auth - oscar1925 - 02-13-2018 ![]() 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.. RE: session expires earlier on community auth - skunkbad - 02-14-2018 (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/usage/authentication-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. |