简体   繁体   中英

Can I use the Session Cache service for a Node.js application?

How can I use the Bluemix Session Cache service with a Node.js application? Can I use data cache for session caching with a Node.js application?

If your application is using the express-session module, you can access an early Beta version of a middleware implementation for express session. You can find it on the npm registry .

If you are not using the express-session module, store the session objects in the data cache using REST API calls and then retrieve the objects manually if the session object does not exist in memory.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM