View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001234 | OXID eShop (all versions) | 4.06. Language and translations | public | 2009-08-25 09:59 | 2009-09-28 14:04 |
Reporter | d3 | Assigned To | |||
Priority | high | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.1.3 revision 19918 | ||||
Fixed in Version | 4.1.6 revision 22740 | ||||
Summary | 0001234: language specified domain (with own ssl certificate) loses language selection, if ssl will be actived | ||||
Description | In our testshop, we defined 3 languages. Every one has got an own domain (e.g. test.de, test.com, test.es) with an own ssl certificate (ssl.test.de, ssl.test.com, ssl.test.es). If user choose another language as the base language und switched to an ssl-based site, die language setting will be lost. Now he get the base language and all of this settings. If I remove the ssl domains, language will submitted accurately. | ||||
Tags | No tags attached. | ||||
Theme | |||||
Browser | All | ||||
PHP Version | 5.2.6 | ||||
Database Version | 5.0.33 | ||||
|
- wrong category, it should be located in "core settings" - we reproduced this problem in Enterprise Edition |
|
For CE and PE shops this case can be solved by setting up the option in config.inc.php: $this->sCookieDomain = domain The domain that the cookie is available. To make the cookie available on all subdomains of example.com then you'd set it to '.example.com'. The . is not required but makes it compatible with more browsers. Setting it to www.example.com will make the cookie only available in the www subdomain. Refer to tail matching in the spec for details. But this not works in Mall with several shops. So this will be fixed. |
|
since next release config inc.php will contain two new parameters: // The domain that the cookie is available: array( _SHOP_ID_ => _DOMAIN_ ); // check setcookie() documentation for more details @php.net $this->aCookieDomains = null; // The path on the server in which the cookie will be available on: array( _SHOP_ID_ => _PATH_ ); // check setcookie() documentation for more details @php.net $this->aCookiePaths = null; On special cases which may not cover your needs you can simply write a modules for oxUtilsServer::_getCookieDomain()/oxUtilsServer::_getCookiePath(). |