Closed sharkboy1976 closed 10 years ago
it seems that sessions.findOne doesn't find anything and returns always null
can you try again from master?
ok, if published a new version: v0.2.7
thx. works now as intended
but still every request writes a new entry in the file.
i don't know how tingodb handles this in detail... perhaps calling save will always make a new entry...
perhaps a performance issue. adding text at the end of the file is faster than editing/deleting text in the middle or beginning
when using tingoDb as session store the session is saved in the file but with every request a new session is created. that is why i have for every request a new entry in the file.
also the code for tingodb does not work and throws an exception at application start because callback (lib/tingodb.js line:43) is undefined.