asu126/beego_app

logout 时session 不失效

Closed this issue · 0 comments

sessionConfig := &session.ManagerConfig{
		CookieName:     "beegosessionID",
		Gclifetime:     3600,
		ProviderConfig: "127.0.0.1:6379,100",
	}

看了下源码,CookieName: "beegosessionID",要与客户端session_id的key值保持一致