Commit 17a99cfa authored by astaxie's avatar astaxie

maybe can't delete cookie error in same browser

parent fd677c45
......@@ -65,7 +65,7 @@ func ReadFromRequest(c *Controller) *FlashData {
}
}
//read one time then delete it
c.Ctx.SetCookie("BEEGO_FLASH", "", -1)
c.Ctx.SetCookie("BEEGO_FLASH", "", -1, "/")
}
c.Data["flash"] = flash.Data
return flash
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment