Session middleware for Oak
Hi - thanks for this library. I assume the intent with the flash is to survive redirects. For example a POST handler sets an error message, redirects to another page, and the GET to that page reads the flash. I have fixed this by not clearing the flash before a new request is handled. Instead, individual flash messages are only cleared once they are accessed. (This way flash messages can survive for several requests).
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be resolved. The issue was opened by aslakhellesoy and has received 5 comments.