Grandioso Posted November 4, 2010 Share Posted November 4, 2010 I just built a new app and I used the same shopping cart class I created in a previous app. This way when I add something in the old app's shopping cart, it also shows up my new app's cart Any ideas how can I solve this ? Quote Link to comment https://forums.phpfreaks.com/topic/217726-two-different-apps-using-same-session-fields/ Share on other sites More sharing options...
Mchl Posted November 4, 2010 Share Posted November 4, 2010 Make sure each application, has it's own session_name Quote Link to comment https://forums.phpfreaks.com/topic/217726-two-different-apps-using-same-session-fields/#findComment-1130171 Share on other sites More sharing options...
Grandioso Posted November 4, 2010 Author Share Posted November 4, 2010 So I just set a session name before each session_start() call ? //edit > I tried it and it seems like it works. Thank you Quote Link to comment https://forums.phpfreaks.com/topic/217726-two-different-apps-using-same-session-fields/#findComment-1130289 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.