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 }