connect-mongodb icon indicating copy to clipboard operation
connect-mongodb copied to clipboard

Suggestion.

Open daithiw44 opened this issue 12 years ago • 0 comments

Anybody (apart from me) ever seen a need for the following optional functionality 'afterReap' see here in

https://github.com/daithiw44/connect-mongodb#afterreap

afterReap: is an optional function passed in as an argument to return the sessionID's removed in the current reap of dead sessionID's.

Use case : I was using it where I had a sessionID and I was storing the ID against other collections and not against the session data as such and when the user left I'd want to know to clean up their footprints.

Just a suggestion if anyone thinks it might be worth having, else I'm happy to exist in my own version of my world.

daithiw44 avatar Nov 08 '12 13:11 daithiw44