How to persist data without using cookies or database in a Nodejs server

2.4k views Asked by At

So if any client side storage like cookie and any persistent database are not allowed to be used. How would you persist data from user input in a Node.js server? array is not an option as users should only see their own input. I thought of using session(express-session), but it essentially uses cookies correct?

1

There are 1 answers

4
TGrif On

You can probably use local storage.
This package seems interesting: node-localstorage