Session gets mixed up in multiple applications - 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: Session gets mixed up in multiple applications (/showthread.php?tid=82528) |
Session gets mixed up in multiple applications - rajeshenath - 07-19-2022 Hello guys, I have hosted 6 entirely different applications (developed with CI 4.1.3) on a server. like https://someurl.com/application_1/ https://someurl.com/application_2/ https://someurl.com/application_3/ ...etc. Each application is a separate instance of CI4 and has its own database and settings (Even the cookie prefix and cookie name values are different). Sometimes (or I should say most of the times), if I use same browser to access these application simultaneously on different tabs, the session gets mixed up and causes various strange issues like, expired session, login failure or captcha validation failure etc. I may be messed up something but I couldn't quite figure it out. Any help is appreciated. RE: Session gets mixed up in multiple applications - kenjis - 07-20-2022 Upgrade to the latest CI4 and try to change the $sessionCookieName setting for each site. |