値の設定

C = cookies.SimpleCookie()

C["flag"] = "0"

 

値の取得

flag = C["flag"].value