Python Developer Question:
Download Questions PDF

How to access sessions in Flask?

Python Developer Interview Question
Python Developer Interview Question

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 Interview Questions And Answers PDF

Previous QuestionNext Question
Tell me what is Dict and List comprehensions are?Explain me what Is The Purpose Of Doc Strings In Python?