CodeIgniter Forums
Session Regenerate - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30)
+--- Thread: Session Regenerate (/showthread.php?tid=87890)



Session Regenerate - 68thorby68 - 06-14-2023

Hi,
Im using CI4 v4.2.12 and have created a process to ensure only one login per user at any one time by storing the session id at login and comparing it to the current session id. However, given CI updates the session id every 300 secs (default), can you point me in the right direction as to where the regeneration is done, so I can extend the code to update my database each time the session id is updated?
Many thanks,


RE: Session Regenerate - kenjis - 06-14-2023

See https://forum.codeigniter.com/showthread.php?tid=87894&pid=410448#pid410448


RE: Session Regenerate - 68thorby68 - 06-15-2023

Thank you.
See https://forum.codeigniter.com/showthread.php?tid=87894