Use cookie in Flask.