R
R
Ren4L2021-09-20 01:12:36
Node.js
Ren4L, 2021-09-20 01:12:36

I am creating a site on NodeJS, when something is written to a file on the server, the cookie file is updated, how can I fix this?

I am creating a site on NodeJS without using databases (I write all authorization data to JSON files), I started making sessions using express-session and there was a problem when something is written to a file on the server, then the cookie file is updated and because of this session is reset, how to solve this problem without using databases???

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question