Styrow.dev
Question 39 of 45
Python Topic: General medium

Explain how you can access sessions in Flask?

Question

Explain how you can access sessions in Flask?

Answer

A session basically allows you to remember information from one request to another. In a flask, it uses a signed cookie so the user can look at the session contents and modify. The user can modify the session if only it has the secret key Flask.secret_key.