Explain how Flask handles session management.
Instruction: Describe the mechanisms Flask uses for session management and how you would configure it.
Context: This question probes the candidate's understanding of how Flask manages user sessions and maintains state across requests.
Updated
Official answer available
Read the opening below, then unlock the full answer and practical guidance.
At its core, Flask manages sessions by utilizing client-side cookies. When a user interacts with a Flask application, the session object creates a secure cookie on the client's browser...