class ActionDispatch::Session::CacheStore

def delete_session(env, sid, options)

Remove a session from the cache.
def delete_session(env, sid, options)
  @cache.delete(cache_key(sid.private_id))
  @cache.delete(cache_key(sid.public_id))
  generate_sid
end