Adminer stops session once it doesn't need it (e.g. before executing SQL commands) but it doesn't work for some reason. I can reproduce at demo.adminer.org.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I checked and this seems to be happening due to php session locks. The php session is locked while the query is running.
Adminer stops session once it doesn't need it (e.g. before executing SQL commands) but it doesn't work for some reason. I can reproduce at demo.adminer.org.
The problem seems to be that
ini_set("session.use_cookies", false)
fails after starting a session in recent PHP versions.It happens since PHP 7.2.0: https://github.com/php/php-src/blob/php-7.2.0/ext/session/session.c#L712
Fixed by 5ffec58a.