Example #1
0
        public void setSession(HttpSessionState SessionState, string SessionName, string SessionValue)
        {
            int num = 0;

            while (true)
            {
                if (num >= SessionState.Keys.Count)
                {
                    SessionState.Add(SessionName, SessionValue);
                    break;
                }
                else if (!(SessionState.Keys.Get(num).ToString() == SessionName))
                {
                    num++;
                }
                else
                {
                    SessionState.RemoveAt(num);
                    SessionState.Add(SessionName, SessionValue);
                    break;
                }
            }
        }
 public void RemoveAt(int index)
 {
     _httpSessionState.RemoveAt(index);
 }
Example #3
0
 public void RemoveAt(int index)
 {
     _session.RemoveAt(index);
 }
Example #4
0
 public void RemoveAt(int index)
 {
     sessionState.RemoveAt(index);
 }
 public override void RemoveAt(int index)
 {
     _session.RemoveAt(index);
 }