View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000537 | OXID eShop (all versions) | 1. ----- eShop frontend ----- | public | 2009-01-23 15:31 | 2012-12-10 14:38 |
| Reporter | webtools | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | won't fix | ||
| Product Version | 4.0.0.2 revision 14842 | ||||
| Summary | 0000537: basketitems from foreign shop | ||||
| Description | After installing 2 similar Shops (PE4002) on my localhost, i started testing by adding producs into the basket of shop 1. After Working within shop 2, i was really surprised to see the product from shop 1 within the basket of shop 2. I am shure that isn`t wanted ;-) Of course the items can`t be deleted. | ||||
| Tags | No tags attached. | ||||
| Theme | |||||
| Browser | All | ||||
| PHP Version | 5.2.6 | ||||
| Database Version | 5.0.33 | ||||
|
|
Reminder sent to: marco_steinhaeuser, webtools Hi, I tried the same case, but I cannot reproduce it on my local. It's very strange case and never experienced such before. Can you please check if both your shops are not using the same database (dbName in config.inc.php), as this may lead to the same data displayed in two different shops. If there are different databases used, would be good to know more details about this case for further investigation - what browser you used, you worked on the same browser instance (just different tabs), or separate browser instances, on what OS, etc. Best regards, |
|
|
Hi, of course there are different databases. because there are different products within each shop. Every Shop has it`s own products. It is a local Installation of xampp: PHP Version 5.2.6, Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies Browsers: IE 7.0.5730.13 Firefox: 3.0.5 This error seems to be there only if I use several tabs within one (the same) Broswer-Window |
|
|
I cannot reproduce this localy. For developers: please check from the source code side, if there is such possibility for mixing the articles between different shops. |
|
|
the reason is clear - as cookie is set on entire domain and shops are setup on same domain, thay session is "shared" between shop |
|
|
i think what we currently have is the best solution for most hosts as usually one shop runs on one domain (i'm not speaking about mall). If we, by default, specify full domain and/or folder in cookie we probably will loose automatical cookie handling for such cases as: www.shop.com => ssl.shop.com www.shop.com/forum/ (shared cookie) => www.shop.com/shop but if it is necessary - i recommend to make a module for oxutilsserver::setOxCookie() where you can include domain name and/or path to shop and problem is gone .. |
|
|
Reminder sent to: webtools Hi, As there was no answer for a long time to this post, we are closing this entry as "Won't fix". Because we cannot implement this in the general source code, as it's needed only in very few cases, but having this - we would loose the flexibility of all eshop. Best regards, Dainius Bigelis |
|
|
We cannot implement suggested solution (what's only needed in few cases) in the general source code, because in this case we would loose the flexibility for all shop. |