RuntimeError: The session is unavailable because no secret key was set.
Asked 2 years ago, Updated 2 years ago, 99 views
Creating an application with Flask.
RuntimeError: The session is unavailable because no secret key was set.Set the secret_key on the application to something unique and secret.
said the error.
Why do these errors occur?Is the required module not imported?