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++ } }