Fix session issues with use_https=true (#1488986)
| | |
| | | CHANGELOG Roundcube Webmail |
| | | =========================== |
| | | |
| | | - Fix session issues with use_https=true (#1488986) |
| | | - Fix blockquote width in sent mail (#1489031) |
| | | - Fix keyboard events on list widgets in Internet Explorer (#1489025) |
| | | - Call resize handler in intervals to prevent lags and double onresize calls in Chrome (#1489005) |
| | |
| | | $sess_domain = $this->config->get('session_domain'); |
| | | $sess_path = $this->config->get('session_path'); |
| | | $lifetime = $this->config->get('session_lifetime', 0) * 60; |
| | | $is_secure = $this->config->get('use_https') || rcube_utils::https_check(); |
| | | |
| | | // set session domain |
| | | if ($sess_domain) { |
| | |
| | | ini_set('session.gc_maxlifetime', $lifetime * 2); |
| | | } |
| | | |
| | | ini_set('session.cookie_secure', rcube_utils::https_check()); |
| | | ini_set('session.cookie_secure', $is_secure); |
| | | ini_set('session.name', $sess_name ? $sess_name : 'roundcube_sessid'); |
| | | ini_set('session.use_cookies', 1); |
| | | ini_set('session.use_only_cookies', 1); |