samuel_lopez Posted March 29, 2016 Share Posted March 29, 2016 Hi all, I have a problem in my projects. I have uploaded my two projects in xampp. My problem is once I logged out in PROJECT A, the current user that is logged-in in PROJECT B is also logged out.Please help me.Thank you. Quote Link to comment https://forums.phpfreaks.com/topic/301105-session-sharing-problem-in-xampp-server/ Share on other sites More sharing options...
mac_gyver Posted March 29, 2016 Share Posted March 29, 2016 not sure what your definition of a project is, but you can probably solve this by using a different session name for each independent project. Quote Link to comment https://forums.phpfreaks.com/topic/301105-session-sharing-problem-in-xampp-server/#findComment-1532543 Share on other sites More sharing options...
requinix Posted March 29, 2016 Share Posted March 29, 2016 Or you can set a path for the session cookie according to whatever directories you're using for the two projects. Like /project1 and /project2. Quote Link to comment https://forums.phpfreaks.com/topic/301105-session-sharing-problem-in-xampp-server/#findComment-1532544 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.