I have configured MongoStore to connect to a replica set, the connection is successful and I can see session being added in the sessions collection. But when I try to modify the session object, the update fails and the session does not modify. The collection.update in the set gives RangeError: Maximum call stack size exceeded error.
I have configured MongoStore to connect to a replica set, the connection is successful and I can see session being added in the sessions collection. But when I try to modify the session object, the update fails and the session does not modify. The collection.update in the set gives RangeError: Maximum call stack size exceeded error.
Am I configuring it wrong?
PS: It is express 3.x and mongoose environment.