bdoutlet Posted August 28, 2006 Share Posted August 28, 2006 The problem I'm having is this: Sometimes the items in one shopping cart will appear in another visitor's shopping cart. It doesn't seem to matter whether either party is logged in or not. From the visitor's point of view, items start appearing in their cart they have not put there - sometimes to very ridiculous and annoying effect. I'm not sure how the error was created - but it does seem to coinside with an attempt to install mcdiscount - which I believe has been removed and never got to working anyway. Seemingly, oscommerce is now sometimes confusing which items are associated with which visitor's shopping cart. Items selected by one visitor will propagate to another's cart. What might account for this crossover between sessions? I'm seeking help for where to even begin to look. What files - or even better, specific lines of code - should I investigate for errors? Any advice is much appreciated!! Link to comment Share on other sites More sharing options...
PD_Steve Posted August 28, 2006 Share Posted August 28, 2006 I am not sure of the ins and outs of mcdiscount, so I dont know how that effected your store. However, with this strange issue occuring I would suspect its something to do with sessions. I would go into the database and clear out the sessions records to see if that fixes the problem. (note, remember to back up the database prior to doing anything with it) Steve My Toolbox: Crimson Editor, Adobe Photoshop CS2.0, Expression Web, Macromedia Suite 8.0, Cinema 4D, Nvu. Link to comment Share on other sites More sharing options...
Iggy Posted August 28, 2006 Share Posted August 28, 2006 I am not sure of the ins and outs of mcdiscount, so I dont know how that effected your store. However, with this strange issue occuring I would suspect its something to do with sessions. I would go into the database and clear out the sessions records to see if that fixes the problem. (note, remember to back up the database prior to doing anything with it) Steve More importantly check you config file and see if it says define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' if it doesn't then change the line to look like this one and see if that clears it up. HTH, Iggy Everything's funny but nothing's a joke... Link to comment Share on other sites More sharing options...
bdoutlet Posted August 30, 2006 Author Share Posted August 30, 2006 Thanks for the advice. I added mysql to the default handler line and cleared out the sessions table in my db... But the problem still occurs. It seems to go away if I clear the sessions table again, but then it comes back. I hadnt seen this before, but sometimes a visitor is logged in as someone they are not just as soon as they come to my site! This is very bad since they can then see the account info for an account that's not theirs! Any thoughts why this would happen? Thanks!! Link to comment Share on other sites More sharing options...
theedge230 Posted December 10, 2009 Share Posted December 10, 2009 Thanks for the advice. I added mysql to the default handler line and cleared out the sessions table in my db... But the problem still occurs. It seems to go away if I clear the sessions table again, but then it comes back. I hadnt seen this before, but sometimes a visitor is logged in as someone they are not just as soon as they come to my site! This is very bad since they can then see the account info for an account that's not theirs! Any thoughts why this would happen? Thanks!! I am having the exact same problem. I know it's been a few years since this was originally posted, but did you by any chance ever find a solution? Anyone have any advice? I'm at a point of desperation. Any help greatly appreciated. Link to comment Share on other sites More sharing options...
MrPhil Posted December 10, 2009 Share Posted December 10, 2009 http://www.oscommerce.com/forums/index.php?showtopic=336419&st=0&p=1402386&hl=%20tmp%20%20cart&fromsearch=1entry1402386 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.