Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
samsonradu
· 2y ago · 0 comments
Can't session data be stored on disk? that's the default PHP behavior.
Comments
[–]
ddorian43
2y ago
Because you might have multiple webservers.
[–]
samsonradu
OP
2y ago
There are solutions for that: Shared NAS, sticky sessions etc.
[–]
ddorian43
2y ago
Good luck with maintaining that NAS. Your sticky sessions will logout all users on a server that goes down. It's better to have a db.
Please stop.
[–]
samsonradu
OP
2y ago
Of course it's better to have a db doh... I'm replying to your
> By default flask doesnt have a db.