Both of the dispatches need to have a return; in them to make it work on latest Mojolicious v8.3, one thing i noticed is flush doesn't remove stale entries from the table so a manual cleanup needs to be done as a routine. I am thinking browsers no longer pass a expired cookie that contains the sid and so the flush cannot clean up.
Both of the dispatches need to have a return; in them to make it work on latest Mojolicious v8.3, one thing i noticed is flush doesn't remove stale entries from the table so a manual cleanup needs to be done as a routine. I am thinking browsers no longer pass a expired cookie that contains the sid and so the flush cannot clean up.