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 { ...@@ -65,7 +65,7 @@ func ReadFromRequest(c *Controller) *FlashData {
65 } 65 }
66 } 66 }
67 //read one time then delete it 67 //read one time then delete it
68 c.Ctx.SetCookie("BEEGO_FLASH", "", -1) 68 c.Ctx.SetCookie("BEEGO_FLASH", "", -1, "/")
69 } 69 }
70 c.Data["flash"] = flash.Data 70 c.Data["flash"] = flash.Data
71 return flash 71 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!