.net微信开发,一直往微信服务器上跳,改了地址也不行

能获取用户信息,在点击立即购买时就跳到微信的服务器上了图片说明图片说明,点击事件的代码如下图片说明protected void Button1_Click(object sender, EventArgs e)
{
string total_fee = "1";
if(ViewState["openid"] != null)
{
string openid = ViewState["openid"].ToString();
string url = "http://www.weyishow.com/example/JsApiPayPage.aspx?openid=" + openid + "&total_fee=" + total_fee;
Response.Redirect(url);
}
else
{
Response.Write("" + "页面缺少参数,请返回重试" + "");
Button1.Visible = false;
Button2.Visible = false;
Label1.Visible = false;
Label2.Visible = false;
}
}

            大家有遇到过这种问题吗,求解啊

你1分下面那个按钮是绑定的Button1_Click事件?

如果是检查jsapipaypage.aspx代码做了什么操作,是不是又response.redirect进行跳转了

http://blog.csdn.net/qq_31583959/article/details/52497735