{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Session/issues/139","repository_url":"https://api.github.com/repos/aspnet/Session","labels_url":"https://api.github.com/repos/aspnet/Session/issues/139/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Session/issues/139/comments","events_url":"https://api.github.com/repos/aspnet/Session/issues/139/events","html_url":"https://github.com/aspnet/Session/issues/139","id":192700261,"number":139,"title":"DistributedSession.Remove does remove item from underlying IDistributedCache","user":{"login":"jeffrymorris","id":454176,"avatar_url":"https://avatars.githubusercontent.com/u/454176?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffrymorris","html_url":"https://github.com/jeffrymorris","followers_url":"https://api.github.com/users/jeffrymorris/followers","following_url":"https://api.github.com/users/jeffrymorris/following{/other_user}","gists_url":"https://api.github.com/users/jeffrymorris/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffrymorris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffrymorris/subscriptions","organizations_url":"https://api.github.com/users/jeffrymorris/orgs","repos_url":"https://api.github.com/users/jeffrymorris/repos","events_url":"https://api.github.com/users/jeffrymorris/events{/privacy}","received_events_url":"https://api.github.com/users/jeffrymorris/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-11-30T22:36:31Z","updated_at":"2016-12-09T20:33:21Z","closed_at":"2016-12-09T20:32:38Z","body":"If you are using a custom IDistributedCache implementation like [CouchbaseCache](https://github.com/couchbaselabs/couchbase-aspnet/blob/3.0-core/src/Couchbase.Extensions.Caching/CouchbaseCache.cs) and you call HttpContext.Session.Remove(\"somekey\"), the session will never be removed from the \"cache\" because DistributedSession.Remove(..) only removes the key from the in-memory _store, but not the _cache. See [here](https://github.com/aspnet/Session/blob/dev/src/Microsoft.AspNetCore.Session/DistributedSession.cs#L154).\r\n\r\nIs this by-design or simply missing from the DistributedSession implementation?\r\n"},"comment":{"url":"https://api.github.com/repos/aspnet/Session/issues/comments/266115992","html_url":"https://github.com/aspnet/Session/issues/139#issuecomment-266115992","issue_url":"https://api.github.com/repos/aspnet/Session/issues/139","id":266115992,"user":{"login":"jeffrymorris","id":454176,"avatar_url":"https://avatars.githubusercontent.com/u/454176?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffrymorris","html_url":"https://github.com/jeffrymorris","followers_url":"https://api.github.com/users/jeffrymorris/followers","following_url":"https://api.github.com/users/jeffrymorris/following{/other_user}","gists_url":"https://api.github.com/users/jeffrymorris/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffrymorris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffrymorris/subscriptions","organizations_url":"https://api.github.com/users/jeffrymorris/orgs","repos_url":"https://api.github.com/users/jeffrymorris/repos","events_url":"https://api.github.com/users/jeffrymorris/events{/privacy}","received_events_url":"https://api.github.com/users/jeffrymorris/received_events","type":"User","site_admin":false},"created_at":"2016-12-09T20:33:21Z","updated_at":"2016-12-09T20:33:21Z","body":"This is not a bug DistributedSession, but in my underlying IDistributableCache implementation."}}
{"actor":{"display_login":"jeffrymorris"}}