English 中文(简体)
ASP. NET 成员/自动记录现有用户
原标题:ASP.NET membership/ automatically log existing user on

我使用面对面的课本使用户能够登录到一个地点。 管理日志的网页将让用户浏览书,然后看管会。 现有用户网络成员表,有配对的ID。

无配对:新用户的创建和登录(无问题)。

对比:我想把用户登录在上面。 问题是,我有过时的密码,我不能使用<条码>。 成员服务:ValidateUser(logon.UserName,logOn.Pasword),将用户登录在网上。

如果我只使用<条码>。 表格Authentication.SetAuthCookie,用户没有上列。

我可以确定使词汇能够在网上汇合中真实,然后才获得实际密码,但我不想。 我希望这是安全的。

是否有任何人知道将用户登录到协会。 NET 成员只是使用用户名称? 我研究了替代方法的<编码>成员颁发类别,但我找不到。

感谢

Oliver

最佳回答
问题回答




相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签