moving session to in-memory storage