コード例 #1
0
        //GetSession - verifica se client possui sessão e cria uma caso não tenha
        //Tipo: Util
        //OBSERVAÇÕES:
        //Utilidade geral que os outros metodos podem utilizar
        protected void GetSession()
        {
            string sessionKey = Request.Cookies["tacertosessionkey"];

            if (sessionKey == null || sessionKey == "")
            {
                sessionKey = SetSession();
            }
            Session = MultitonSession.GetSession(sessionKey);
        }
コード例 #2
0
 public void Delete()
 {
     MultitonSession.RemoveSession(this);
 }