Comments (4)
delete the contents of your sessions collection and try again.
Post the contents of your npm ls so I can see which versions are you using.
from connect-mongodb.
try again with the latest release and post the feedback :)
from connect-mongodb.
no answer since last week so I close the ticket.
Reopen it if something is wrong.
from connect-mongodb.
I can confirm this one. Seams to have something to do with the size of maxAge
cookie: {maxAge: 60000 * 60 * 24 * 365}
leads to the error above
cookie: {maxAge: 60000 * 60 * 24}
works fine
from connect-mongodb.
Related Issues (20)
- Version bump of Connect for Node > v0.7.0 HOT 1
- bash ./install.sh HOT 2
- Why is the session stringified? HOT 1
- TypeError: Cannot call method 'findOne' of null at MongoStore.get HOT 11
- Using connect-mongodb on Windows HOT 6
- compatibility with connect 2.x ? HOT 5
- dependencies to mongodb 0.9.7 build failed on Win32 platform HOT 2
- Plans for 0.7.x/0.8.x branch? HOT 6
- trouble with req.sessionStore
- Cannot install: mongodb-1.0.2 no longer avaialble HOT 1
- looking for the 'sessions' collection
- connect-mongodb not working with mongodb > 1.02
- Document whether to set `safe: true` or `false`
- Cannot call method 'findOne' of undefined
- TypeError: Cannot call method 'remove' of null when trying init connection
- Suggestion.
- License? HOT 3
- New Mongo driver demands 'default write concern' HOT 1
- [email protected] TypeError: Cannot call method 'isConnected' of undefined HOT 12
- New connect session storage with mongo
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from connect-mongodb.