Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Flash getting cleared if static assets served in between dynamic page requests. #109
Flash is supposed to be retained between subsequent request (at most one), but if any static asset is served in between, the Flash is getting cleared.
Almost all web apps would need to serve numerous static assets to get the page rendered and this defeat the purpose of Flashing.
Yes, ideally static assets should be served directly from a front end server (such as Nginx or Apache), but there are cases when we might not use them.
good catch! You are absolutely right. Can you check if github.com//pull/110 (https://github.com/ninjaframework/ninja/branches/bugfix-109-static-assets-should-not-handle-flash-scope) fixes the issue for you? I also added testcases to make sure that this issue does not happen again.