Skip to content Skip to sidebar Skip to footer

Node.js Session-file-store Will Abort All Following Requests

I'm creating simple web app in node.js which should be able to save session data into file store. For this purpose I'm using express-session with session-file-store module: var ses

Solution 1:

It seems like you have problems with permissions on your file system if it works with default in memory storage.


Try to create session store this way:

new FileStore({
   path:  require('path').join(require('os').tmpdir(), 'sessions')
})

It has to resolve this issue.


Post a Comment for "Node.js Session-file-store Will Abort All Following Requests"