User logged out after modifying NodeJS page

Hello,

As the title explains, my NodeJS user gets logged out each time I apply any changes to the page.

Is there anything I could do to prevent the user from logging out?

Thanks!

For now duplicate the page (prefix it with something like _alt.etc), upload and work on the duplicated version until one of the team can respond with far better advice than mine. Serious note though, this is what we tend to do, have prefixed versions for working on and live versions remain untouched until the replacements are good to go.

You need to store sessions as the server restarts with every change you do and in-memory sessions are deleted.

With the update they made for redis and docker this is already handled, but if you are not using docker you need to do it yourself.

1 Like