如何使用C#在asp.net中创建安全级别登录页面 [英] How to create security level Login pages in asp.net using C#

查看:98
本文介绍了如何使用C#在asp.net中创建安全级别登录页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

:((大家好,


我正在登录页面上工作,但是我对创建登录页面感到很困惑,所以请帮助我,如何在登录页面上创建和管理安全性,例如用户的新帐户,以及如何与现有用户建立联系
通过他们的帐户


问候

Mohammad Ali

:( Hi Every body


i am working on login pages but i am so confused to create login pages , So please help me that how to create and manage the security on Login pages like new accounts of users and how to loning existing users
through their accounts


regards

Mohammad Ali

推荐答案

写道:​​

Mohammad Ali

Mohammad Ali



您如何键入,您没有帕金森吗?

登录页面确实非常简单明了.您知道会话对象是什么吗?您应该在ASP.NET书中阅读它.会话变量是您如何在其会话内跟踪用户已登录的事实.其余的操作很简单,将值存储在您的数据库中,编写一个proc来告诉您登录尝试是否成功,编写一个基本页面以从重定向到登录页面的情况下派生您的所有页面(如果用户未登录),以及您完成了.



How do you type, don''t you have Parkinsons ?

Login pages are really pretty straightforward and obvious. Do you know what the session object is ? You should read up on it in your ASP.NET book. A session variable is how you''d keep track of the fact that a user is logged in, within their session. The rest is easy, store the values in your DB, write a proc to tell you if a login attempt is successful, write a base page to derive all your pages from that redirects to the login page if the user is not logged in, and you''re done.


您正在使用的平台////
如果您使用的是asp.net/c#
使用内置的asp.net配置
这很棒:)
what platform you are using///
if you are using asp.net / c#
use the built in asp.net configuration
this is great :)


这篇关于如何使用C#在asp.net中创建安全级别登录页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆