Quantcast
Channel: User Thomas - Stack Overflow
Viewing latest article 36
Browse Latest Browse All 39

Save session as BSON instead of a String on node.js with MongoDB

$
0
0

I am using node.js with express and connect-mongo as session store. When I am checking my sessions collection in mongo, there is only the _id attribute a session attribute in each dataset. The value of the session attribute is a String. Is there any way to store the session data as BSON?


Viewing latest article 36
Browse Latest Browse All 39

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>