-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Random Cookies Appearing in Sessions table #11
Comments
From the
This is a big issue, causing empty sessions to be created on page loads. Upstream issue is here:
|
I have the same problem. Did anybody found a solution? |
@backslash451 This is the workaround, call this middleware before your routes:
|
This is great. I'll think about using it, because I already found a different solution using a custom function to "enable" flash() middleware on all routes except for a special one used for healthcheck (this was the problem in the first place, a GET request every 1 sec used to check the status of the application, that created the "almost" empty session object). |
i believe this plugin is causing these cookies to pile up in my table:
{"cookie":{"originalMaxAge":null,"expires":null,"httpOnly":true,"path":"/"},"flash":{}}
The text was updated successfully, but these errors were encountered: