From 27f073cbbf9f4cfb308e0f045fe0cca22d2c2d5e Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Wed, 24 Dec 2014 22:08:48 +0800 Subject: [PATCH] logging :guitar: --- session/sessions.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/session/sessions.go b/session/sessions.go index b437658..adba09b 100644 --- a/session/sessions.go +++ b/session/sessions.go @@ -373,7 +373,7 @@ func (sessions *wSessions) Remove(sid string) { cnt := 0 // count wide sessions associated with HTTP session for _, ses := range *sessions { - if ses.HTTPSession.ID == s.HTTPSession.ID { + if ses.HTTPSession.Values["id"] == s.HTTPSession.Values["id"] { cnt++ } }