Permalink
Browse files

* Add `stringify` option docs.

  • Loading branch information...
1 parent 30e052c commit 9608d87dcba829cc8b8d5f684fc51ce4c9ccb91e @kcbanner kcbanner committed Apr 14, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 Readme.md
View
@@ -22,6 +22,10 @@ via npm:
If provided, information in the URL takes priority over the other options.
- `clear_interval` Interval in seconds to clear expired sessions (optional, default: `-1`).
Values <= 0 disable expired session clearing.
+ - `stringify` If true, connect-mongo will serialize sessions using JSON.stringify before
+ setting them, and deserialize them with JSON.parse when getting them.
+ (optional, default: true). This is useful if you are using types that
+ MongoDB doesn't support.
## Example

0 comments on commit 9608d87

Please sign in to comment.