javascript - Distributed session storage in ExpressJS -


i'm working on distributed web app, , want use expressjs session store data, need distributed session storage. alternatively, build own session storage, don't know how it.

i'm using memcached (by mean of this module) in parts of project different web app, nice able use memcached session storage.

i want this:

app.use(express.session({secret: 'something', store: new memcachedstorage(...)})); 

so storage should use?

i think this looking for:

app.use(express.session({    secret: 'catonthekeyboard',    store: new memcachedstore  })); 

Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

css - Can I use the :after pseudo-element on an input field? -