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 ? 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 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 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
Archived
This topic is now archived and is closed to further replies.