Python Developer Question:

How to access sessions in Flask?

Tweet Share WhatsApp

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.

Download Python Developer PDF Read All 77 Python Developer Questions
Previous QuestionNext Question
Tell me what is Dict and List comprehensions are?Explain me what Is The Purpose Of Doc Strings In Python?