Support the ongoing development of Laravel.io →
Configuration Requests Session
Last updated 2 years ago.
0

Can't edit the post for some reason; but where it says "native" in the config file, it should actually say "file". Changing it from "native" to "file" still does not fix the issue.

Last updated 2 years ago.
0

Changing the driver to "cookie" and using cookies seems to have solved the issue for the user; however, this is not ideal. This issue initially came up when we were using memcached for caching and sessions so we changed it to files to test. Ideally we would like to switch back to memcached, but the issue for this user still persists using both the "file" and "memcached" drivers.

Last updated 2 years ago.
0

Sorry for the spam, editing my posts doesn't seem to be working.

Switching to cookies did not prove to be viable as the data exceeded the limit. The same issue is also happening with the database driver.

Last updated 2 years ago.
0

This is the strangest bug, but has a temporary solution. The moving the same code around to different functions and routes did keep the flash sessions alive and they never disappeared. The issue was in the HTML/javascript. The button used to submit had an onclick confirm on it. Removing the onclick and confirm solved the issues. Moving the confirm to an external javascript file did NOT solve the issues. The only way the user would receive the session messages is if that confirm was not present at all.

Weird bug, weirder solution. If anyone has any idea as to why this happened, I'd love to know.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

taywhited taywhited Joined 11 May 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.