你点击按钮的时候不是先执行了下面这段吗
        HttpCookie myCookie = new HttpCookie("aaa");
        myCookie.Value = "aaa";