本人菜鸟一只,做了个登陆的页面,想把登陆信息传递到下一个页,但是不会写这个传递表达式,请大家帮忙. protected void btnLogin_Click(object sender, EventArgs e)
{
Response.Redirect("login.aspx?userName=" + Server.UrlEncode(this.txtUserName.Text));
Response.Redirect("login.aspx?userPwd=" + Server.UrlEncode(this.txtUserPwd.Text));
}
{
Response.Redirect("login.aspx?userName=" + Server.UrlEncode(this.txtUserName.Text));
Response.Redirect("login.aspx?userPwd=" + Server.UrlEncode(this.txtUserPwd.Text));
}
例如:test.aspx?a=1&b=2&c=3
是不太好啊~~~可是他要的是这个效果啊~~~ 呵呵~~~为什么不在登陆页面直接进行验证用户呢?
是这样的,有些网页在主页上也有登陆窗口,我这样做就是想实现,在主页登陆,然后把值传递到专门的登陆处理页来处理.
2,test.asp?a=1&b=2