From fd78ea5c4a16b941c8c347780b60d737a1580753 Mon Sep 17 00:00:00 2001 From: astaxie Date: Thu, 12 Dec 2013 10:43:13 +0800 Subject: [PATCH] set cookie to zero --- config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.go b/config.go index 4e2691cc..3a50ea67 100644 --- a/config.go +++ b/config.go @@ -92,7 +92,7 @@ func init() { SessionSavePath = "" SessionHashFunc = "sha1" SessionHashKey = "beegoserversessionkey" - SessionCookieLifeTime = 3600 + SessionCookieLifeTime = 0 //set cookie default is the brower life UseFcgi = false