Server side storage
h
TheDrone7 (560)

I am making a http server using express in nodejs and I wanted to know if there was something similar to session storage but for the server side. Like this is a variable but I want it to be same for all users even when it changes. This might've been possible if it were possible to update files on repl.it programmatically but I don't think it works yet. If you know of something that can solve this problem, please help. Thank you!

(I promise 6 cycles to whoever helps me solve this :-P)

You are viewing a single comment. View All
Answered by megatron0000 (15) [earned 5 cycles]
View Answer
TheDrone7 (560)

@ash15khng ummm, that's exactly what I'm asking, how would I store it on my server? I don't want to get an entire online hosted DB for just 2 variables. And files don't save once the server goes down.