From 17a99cfa819a670d65a0d3841875935b8b079d0b Mon Sep 17 00:00:00 2001 From: astaxie Date: Wed, 21 Aug 2013 11:31:32 +0800 Subject: [PATCH] maybe can't delete cookie error in same browser --- flash.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flash.go b/flash.go index dc26a984..8fe8c763 100644 --- a/flash.go +++ b/flash.go @@ -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