From c7437d7590a6b62aba4233551f4692012c8d0211 Mon Sep 17 00:00:00 2001 From: "asta.xie" Date: Wed, 26 Mar 2014 13:51:35 +0800 Subject: [PATCH] fix Cookie for session --- session/sess_cookie.go | 1 + 1 file changed, 1 insertion(+) diff --git a/session/sess_cookie.go b/session/sess_cookie.go index ddf1a902..54acba31 100644 --- a/session/sess_cookie.go +++ b/session/sess_cookie.go @@ -118,6 +118,7 @@ func (pder *CookieProvider) SessionInit(maxlifetime int64, config string) error if err != nil { return err } + pder.maxlifetime = maxlifetime return nil }