Python Flask & AWS
About Lesson

In this Flask AWS video we are going to learn about Flask Flash Messages, Flask flash messages are way to display feedback messages to users in Flask web application. these messages are typically used to inform users of successful or unsuccessful actions such as successful completion of form submission or to provide error messages when user makes an invalid input.

Flask flash messages are stored in the user’s session cookie and are typically displayed on the next page after the action that triggered them. messages are designed to be temporary and are automatically removed from the session cookie after they are displayed to the user.

Flask provides built in flash messaging system that can be easily used in a web application. flash() function is used to set a message, which can then be displayed to the user using the get_flashed_messages() function.

Exercise Files
FlaskApp.zip
Size: 86.66 KB
Join the conversation