Re:You might not need Redis
by physicsguy on Wednesday March 12, 2025 @11:33AM
(#43344334)
Most of the options you're talking about are client side sessions and even then are limited. That's certainly the case in Flask, FastAPI, Starlette.
Compare that to say, Django, Laravel, etc.
- I know Flask and it has sessions
- It also lists three frameworks for PHP, which has sessions built into the language (session_start() is what I use in any project that needs a session system)
- Expressjs is one of the few others with a Wikipedia page. Looking into that, it says it requires some middleware for having sessions, which seems not only well-supported, but there is also an include from the authors of Expressjs themselves called expressjs-sessions. It's technically not in the framework, but the authors provide it and clearly keep it in mind when developing the framework so you don't have to DIY that
I can't conclude this isn't a common feature in microframeworks :p