Welcome Guest, Not a member yet? Register   Sign In
Session gets mixed up in multiple applications
#1
Question 
(This post was last modified: 07-19-2022, 11:57 PM by rajeshenath.)

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.
Reply
#2

Upgrade to the latest CI4 and try to change the $sessionCookieName setting for each site.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB