C# (CSharp) PVL Namespace

Сlasses

Name Description
MongoSessionProvider Custom ASP.NET Session State Provider using MongoDB as the state store. Session state default store: "Sessions" collection within a "SessionState" database. Example session document: { "_id" : "i2guetwsm0mgaibb1gqmodfq", "App" : "/", "Created" : ISODate("2013-02-21T22:27:32.091Z"), "Expires" : ISODate("2013-02-22T22:30:59.267Z"), "LockDate" : ISODate("2013-02-21T22:29:54.481Z"), "LockId" : 1, "Timeout" : 20, "Locked" : true, "Items" : "AQAAAP////8EVGVzdAgAAAABBkFkcmlhbg==", "Flags" : 0 } Scheduled session cleanup: db.Sessions.remove({"Expires" : {$lt : new Date() }}) Example web.config settings: .. ..