Indeed, I was experiencing this issue with the Session Expires error and if I were to login with permanent login selected, then it would login but when creating a database i'd get the Invalid CSRF token. Send the form again. error. But this got fixed after I created the session.save_path directory.
张总,我看adminer上有人出现这个问题,并解决了, 请问在iredmail环境下如果 created session save patch? 请指点.