Ejemplo n.º 1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                RedisSession oRedisSession = new RedisSession(this.Context, true, 20);
                if (oRedisSession.IsExistKey("usercode"))
                {
                    Response.Redirect("index.aspx");
                }

                //System.Web.SessionState.SessionIDManager
            }
        }