Use session.memory instead of session.file