登录页面是我的第一页。 [英] Login page is my first page.
本文介绍了登录页面是我的第一页。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我如何建立一个网站
1.首先你需要用用户名和密码登录
2.如果你登录成功然后你会访问其他页面.. ??
How can i make a web site where
1.first you have to log in with user id & password
2. if ur log in success Then you will access others page..??
推荐答案
您需要使用表单身份验证。我会研究它,这个链接可能有所帮助, http://msdn.microsoft.com/en-us/ library / ff647070.aspx [ ^ ]。
You need to use Forms Authentication. I would research it and this link may help, http://msdn.microsoft.com/en-us/library/ff647070.aspx[^].
试试这个我希望它会对你有所帮助
http://csharpdotnetfreak.blogspot.com/2012/06/login-page-form-example-in-aspnet.html [ ^ ]
Try This I hope it will help you
http://csharpdotnetfreak.blogspot.com/2012/06/login-page-form-example-in-aspnet.html[^]
添加你的web.xml文件
add in ur web.xml file
<authentication mode="Forms">
<forms loginUrl="~/Account/Login.aspx" timeout="2880"/>
</authentication>
这篇关于登录页面是我的第一页。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文