Patrick's Software Blog

Server-side Sessions in Flask with Redis

Wooden table with the words Server-Side Sessions in Flask written on it and a notebook with the Flask logo on the table, as well as a cup of coffee.

Introduction

This blog post looks at how server-side sessions can be utilized in Flask with Flask-Session and Redis.

This blog post covers the following topics:

  • What is a session?
  • Client-side vs. server-side sessions
  • Flask-Session overview
  • Example Flask application that implements server-side sessions using Flask-Session and Redis

The full article can be found on TestDriven.io: https://testdriven.io/blog/flask-server-side-sessions/