1
0
mirror of https://github.com/astaxie/beego.git synced 2024-06-30 11:24:12 +00:00

set cookie to zero

This commit is contained in:
astaxie 2013-12-12 10:43:13 +08:00
parent c3c49e9172
commit fd78ea5c4a

View File

@ -92,7 +92,7 @@ func init() {
SessionSavePath = "" SessionSavePath = ""
SessionHashFunc = "sha1" SessionHashFunc = "sha1"
SessionHashKey = "beegoserversessionkey" SessionHashKey = "beegoserversessionkey"
SessionCookieLifeTime = 3600 SessionCookieLifeTime = 0 //set cookie default is the brower life
UseFcgi = false UseFcgi = false