@@ -48,7 +48,7 @@ session的基本原理是由服务器为每个会话维护一份信息数据,
return &Manager{provider: provider, cookieName: cookieName, maxlifetime: maxlifetime}, nil
}
Go实现整个的流程应该也是这样的,在main包中创建一个全部的session管理器
Go实现整个的流程应该也是这样的,在main包中创建一个全局的session管理器
var globalSessions *session.Manager
//然后在init函数中初始化
The note is not visible to the blocked user.