in reply to Re^2: Mojolicious session does not expire
in thread Mojolicious session does not expire

Have you investigated whether your script sends the correct Set-Cookie headers upon logout?

If yes, there is a problem with the browser, in that it maybe has old cookies that the program still considers valid.

If no, investigate why the cookie headers are not sent.