View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003875 | OXID eShop (all versions) | 4.02. Session handling | public | 2012-04-17 11:08 | 2012-04-19 09:48 |
Reporter | GhostGambler | Assigned To | |||
Priority | high | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.5.9 revision 43186 | ||||
Fixed in Version | 4.5.10 revision 44222 | ||||
Summary | 0003875: Session gets lost when using ADODB | ||||
Description | ADODB_Session::sess_read expects the fetchMode ADODB_FETCH_NUM, but in some cases the fetchMode is set to ADODB_FETCH_ASSOC before. In that case there will be read an empty part of the array in line 78 ($result->fields[0]; -- because the session data is in session_data and not in 0) and therefore the session will be closed. A backtrace in line 63 gives the following output in case of the wrong fetchMode Backtrace #0 ADODB_Session::sess_read(38e927b82b5dfe6cd481c5740f7b2c62) #1 session_start() called at [/var/www/Programm/core/oxsession.php:358] #2 oxSession->_sessionStart() called at [/var/www/Programm/core/oxsession.php:268] #3 oxSession->start() called at [/var/www/Programm/core/oxconfig.php:447] #4 oxConfig->init() called at [/var/www/Programm/core/oxconfig.php:495] #5 oxConfig::getInstance() called at [/var/www/Programm/index.php:78] #6 require(/var/www/Programm/index.php) called at [/var/www/Programm/oxseo.php:46] | ||||
Tags | No tags attached. | ||||
Theme | Both | ||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
related to | 0000853 | resolved | Linas Kukulskis | DB Session handling in eShop 4th does not work at all |