First off, I DONT want to use a Node.js Framework. I am working on a CMS system and have most of it working. Now I am trying to decide the best approach to Sessions.
Option 1: Read/Write from a file
Option 2: Read/Write from variable in mem
Option 3: Read/Write from MongoDB collection
I am swaying towards the MongoDB option, That way if you have the CMS across multiple servers, your session would stay live as they all are using the same MongoDB.
Anyone have any suggestions or recommendations?
Option 3: It’s all going to the filesystem either way. Whatever is easier to implement and you get the most use out of.