{"action":"created","issue":{"url":"https://api.github.com/repos/eclipse/jetty.project/issues/286","repository_url":"https://api.github.com/repos/eclipse/jetty.project","labels_url":"https://api.github.com/repos/eclipse/jetty.project/issues/286/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/jetty.project/issues/286/comments","events_url":"https://api.github.com/repos/eclipse/jetty.project/issues/286/events","html_url":"https://github.com/eclipse/jetty.project/issues/286","id":134129979,"number":286,"title":"NoSqlSessionManager has bogus methods","user":{"login":"jmcc0nn3ll","id":273327,"avatar_url":"https://avatars.githubusercontent.com/u/273327?v=3","gravatar_id":"","url":"https://api.github.com/users/jmcc0nn3ll","html_url":"https://github.com/jmcc0nn3ll","followers_url":"https://api.github.com/users/jmcc0nn3ll/followers","following_url":"https://api.github.com/users/jmcc0nn3ll/following{/other_user}","gists_url":"https://api.github.com/users/jmcc0nn3ll/gists{/gist_id}","starred_url":"https://api.github.com/users/jmcc0nn3ll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmcc0nn3ll/subscriptions","organizations_url":"https://api.github.com/users/jmcc0nn3ll/orgs","repos_url":"https://api.github.com/users/jmcc0nn3ll/repos","events_url":"https://api.github.com/users/jmcc0nn3ll/events{/privacy}","received_events_url":"https://api.github.com/users/jmcc0nn3ll/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eclipse/jetty.project/labels/Bug","name":"Bug","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"janbartel","id":342406,"avatar_url":"https://avatars.githubusercontent.com/u/342406?v=3","gravatar_id":"","url":"https://api.github.com/users/janbartel","html_url":"https://github.com/janbartel","followers_url":"https://api.github.com/users/janbartel/followers","following_url":"https://api.github.com/users/janbartel/following{/other_user}","gists_url":"https://api.github.com/users/janbartel/gists{/gist_id}","starred_url":"https://api.github.com/users/janbartel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janbartel/subscriptions","organizations_url":"https://api.github.com/users/janbartel/orgs","repos_url":"https://api.github.com/users/janbartel/repos","events_url":"https://api.github.com/users/janbartel/events{/privacy}","received_events_url":"https://api.github.com/users/janbartel/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-02-16T23:46:33Z","updated_at":"2016-04-27T02:14:38Z","closed_at":null,"body":"migrated from Bugzilla [#486301](https://bugs.eclipse.org/bugs/show_bug.cgi?id=486301)\nstatus ASSIGNED severity *normal* in component *server* for *9.3.x*\nReported in version *9.3.6* on platform *PC*\nAssigned to: Jan Bartel\n\nOn 2016-01-21 14:16:30 -0500, Jesse McConnell wrote:\n\n> There are some methods on here that duplicate concepts from the AbstractSessionManager that are dangerous, namely the setIdlePeriod which duplicates the concept/functionality in setMaxInactiveInterval on the AbstractSessionManager.\n\n"},"comment":{"url":"https://api.github.com/repos/eclipse/jetty.project/issues/comments/214947754","html_url":"https://github.com/eclipse/jetty.project/issues/286#issuecomment-214947754","issue_url":"https://api.github.com/repos/eclipse/jetty.project/issues/286","id":214947754,"user":{"login":"janbartel","id":342406,"avatar_url":"https://avatars.githubusercontent.com/u/342406?v=3","gravatar_id":"","url":"https://api.github.com/users/janbartel","html_url":"https://github.com/janbartel","followers_url":"https://api.github.com/users/janbartel/followers","following_url":"https://api.github.com/users/janbartel/following{/other_user}","gists_url":"https://api.github.com/users/janbartel/gists{/gist_id}","starred_url":"https://api.github.com/users/janbartel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janbartel/subscriptions","organizations_url":"https://api.github.com/users/janbartel/orgs","repos_url":"https://api.github.com/users/janbartel/repos","events_url":"https://api.github.com/users/janbartel/events{/privacy}","received_events_url":"https://api.github.com/users/janbartel/received_events","type":"User","site_admin":false},"created_at":"2016-04-27T02:14:38Z","updated_at":"2016-04-27T02:14:38Z","body":"@jmcc0nn3ll I think these are 2 separate things:   \r\n\r\nAbstractSessionManager.setMaxInactiveInterval() sets the default amount of time that a session is regarded as being valid (ie not expired). It's equivalent to <session-timeout> in <session-config> from web.xml, although the units are different :)\r\n\r\nNoSqlSessionManager.setIdlePeriod() is the amount of time a valid session should remain in memory before being passivated out to mongo, thus reducing the number of sessions stored in memory. Whenever that id is next referenced, it will be populated into memory again from mongo.\r\n\r\nOr am I missing something in the problem description?"}}