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