登录另一个页面 [英] Login to another page
本文介绍了登录另一个页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使用asp.net将表单aspx登录到另一个aspxpage.
Hi,
How to login form aspx to another aspxpage by using asp.net.
推荐答案
如果您是登录后重定向,请选中此选项
http://forums.asp.net/p/1332207/2675781.aspx [ ^ ]
Check this if you mean redirecting after login
http://forums.asp.net/p/1332207/2675781.aspx[^]
代码类似:
code like:
if(userName & Password is valid)
{
Response.Redirect("Page2.aspx");
}
N.B.此代码不是编程代码,只是说如果用户名和密码为true,则将加载page2.aspx.
谢谢
N.B. this code is not a programming code just say that if user name and password is true then page2.aspx is loaded.
Thanks
这篇关于登录另一个页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文