* @return null
*/
function stop_session($force = false) {
- if (!ini_bool("session.use_cookies") || ($force && @ini_set("session.use_cookies", false) !== false)) { // @ - may be disabled
+ $use_cookies = ini_bool("session.use_cookies");
+ if (!$use_cookies || $force) {
session_write_close(); // improves concurrency if a user opens several pages at once, may be restarted later
+ if ($use_cookies && @ini_set("session.use_cookies", false) === false) { // @ - may be disabled
+ session_start();
+ }
}
}
Adminer 4.7.3-dev:
Allow editing foreign keys pointing to tables in other database/schema (bug #694)
+Fix blocking of concurrent instances in PHP >7.2 (bug #703)
MySQL: Speed up displaying tables in large databases (bug #700, regression from 4.7.2)
MySQL: Allow editing rows identified by negative floats (bug #695)
MySQL: Skip editing generated columns