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?

python flask

2022-09-30 16:12

1 Answers

app.secret_key='super secret key' was written incorrectly


2022-09-30 16:12

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.