CodeIgniter Forums
how to change the main session cookie name upon login - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: how to change the main session cookie name upon login (/showthread.php?tid=78477)



how to change the main session cookie name upon login - starchild - 01-26-2021

Instead of creating an additional cookie on login, is it possible to actually change the generic session cookie name?

So this way we have just the one cookie, no matter if logged in or not.

Thanks for any advice.


RE: how to change the main session cookie name upon login - kleber - 01-28-2021

https://stackoverflow.com/questions/1780852/change-session-id-and-keep-data
https://stackoverflow.com/questions/964272/how-to-rename-phpsessid