|
|
|
|
|
by lucb1e
463 days ago
|
|
I didn't know what you meant so I looked up micro frameworks. Wikipedia has a page named Microframework and lists 23 examples. I don't have time to dive into each of them and most items aren't links (so not sure how relevant they are), but - 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 |
|
Compare that to say, Django, Laravel, etc.