bonzzai Posted September 14, 2005 Share Posted September 14, 2005 hi all i have nearly finished my shop now, but now as i tested it with about 3 users, it appears to have a huuuuge bug!!? this happened: i logged myselfe in and put some stuff in the basket, then my friend came online too and saw what i have put in the basket!! as soon as he came online, he was already logged in with my username without knowing it! he could then delete my basket and he could log me off... what is this??? best thanks for replies... bonzzai Link to comment Share on other sites More sharing options...
mushindo Posted September 14, 2005 Share Posted September 14, 2005 Sounds like something is massively wrong with your configuration settings, or more likely configuration of your hosting account / mysql settings. I would start by contacting your hosting company to describe the problem that for some reason you are only able to have several users on the store at once and ask them if that is how they have MySQL setup. As far as your friend viewing same products as you in the shopping cart, I dont see how this would be possible unless either A. You copied and pasted a URL string containing an osCid to your friend, which he then used to view the site without logging in. You would also not have been logged in as well for this scenario. OR B. Your oscommerce store is majorly messed up! Sorry can't be of more help. Sincerely, Bruce 19 contributions submitted Link to comment Share on other sites More sharing options...
bonzzai Posted September 14, 2005 Author Share Posted September 14, 2005 hi mushindo, thanks for the tipps. the person who owns the hosting company which host my site, lives together with me, so i asked him before :) he told me that it might be because of having same session-id's, so i made some changes. we then tried it out and it worked when he was online at the same time as me... as it is night now over here in switzerland, i'll test it again tomorrow with my friend. but did this not happen to anyone else who's running osc? am i the only one..? :blink: goodnight & thanks for the help. bonzzai Link to comment Share on other sites More sharing options...
mushindo Posted September 14, 2005 Share Posted September 14, 2005 Never heard of that happening before. It is obviously possible since you experienced it though :). Assuming you are using a default install of the latest version of oscommerce MS2, I would guess it is something to do with the settings on the hosting server. Out of curiosity go into ADMIN > CONFIGURATIONS > SESSIONS: and list the variables for each here. Thanks. Sincerely, Bruce 19 contributions submitted Link to comment Share on other sites More sharing options...
Iggy Posted September 14, 2005 Share Posted September 14, 2005 In your config file are you storing sessions in the db? Should look something like define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' Iggy Everything's funny but nothing's a joke... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.