mongo_session_store icon indicating copy to clipboard operation
mongo_session_store copied to clipboard

MongoSessionStore is a Rails-compatible session store for MongoDB using either Mongoid or the MongoDB Ruby Driver. It also allows for custom Mongo session store that works with any (or no!) Mongo ODM

Results 6 mongo_session_store issues
Sort by recently updated
recently updated
newest added

Hello there, I get: TypeError at /documents can't dump IO. mongo_session_store (3.2.1) lib/mongo_session_store/mongoid_store.rb, line 17 store_in collection: MongoSessionStore.collection_name field :_data, type: BSON::Binary, default: -> { pack({}) } def self.pack(data) 17...

Hi! I've been thinking about this for quite some time. At first I was annoyed that whenever crawlers visit my web pages, they do not retain cookies. So every visit...

Stale sessions start to pollute the sessions collection. It could be useful to have an option to delete sessions based on age/updated_at `MongoSessionStore.max_age = 1.week`

Support for MongoMapper is present in version 2 of the gem. Right now, the pre version 3 version of the gem doesn't include MongoMapper support after PR #13. Respond to...

new feature

Support for jRuby and Rubinius was added by Brian Hempel in his [fork](https://github.com/brianhempel/mongo_session_store). It wasn't merged in PR #13 after updates in [my fork](https://github.com/appsignal/mongo_session_store). Will try to add support later....

new feature

Save the session id encrypted in a cookie. This makes it difficult for potential hackers to modify cookie contents. They will still be able to see how the session id...

new feature