예제 #1
0
        public Session CreateSession()
        {
            Session newSession = new Session(0, null);
            mSessionDic.Add(lSessionCount, newSession);

            return newSession;
        }
예제 #2
0
        public Session CreateSession(HttpServlet servlet)
        {
            lSessionCount++;
            Session newSession = new Session(lSessionCount, servlet);
            mSessionDic.Add(lSessionCount, newSession);

            return newSession;
        }