Session expired, please login again

Code Diary picture Code Diary · Feb 9, 2015 · Viewed 9.3k times · Source

I am using

Adminer 4.1.0 in Wordpress Plugin

OS is Ubuntu

Webserver is Nginx

The day before yesterday, my adminer is working properly. But yesterday i cannot login because it's returning an error message:

Session expired, please login again.

I searched google but i couldn't find any solution. Please help. What should i check? Thank you.

Answer

McNab picture McNab · Mar 18, 2016

I also had this problem, plus when I did login and tried to change anything it threw an Invalid CSRF token error. Got the solution from this thread;

https://sourceforge.net/p/adminer/discussion/960418/thread/17b3972a/

I edited adminer and explicitly added in the session save path for the server;

ini_set('session.save_path',  '/tmp/');