Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Why session is stored as String? #10

murvinlai opened this Issue · 2 comments

2 participants


I looked into the mongoDB. The session is stored as string:
"_id": String,
"session": String

session is not stored as object. Why is that?


It is currently stored as JSON, I did this originally because I had problems with saving Date objects in the session when the Date object had been patched by some library. That problem may no longer be relevant though.


There is now a stringify option which you can set to false to store your sessions as native types.

@kcbanner kcbanner closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.