17a99cfa by astaxie

maybe can't delete cookie error in same browser

1 parent fd677c45
Showing 1 changed file with 1 additions and 1 deletions
......@@ -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
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!