开发者

Automated login on ASP.NET website with C#

I have to login with a username / password with a c# program with asp.net form.

I have already do that with HttpUtility on PHP website but how to do that with ASP.NET website ?

In ASP.NET, I must handle postback and so on... Any ideas ?

Thanks in advance

Best regards

UPDATE :

I have to privilegied access to this website. I have to login like any other visitor. I 开发者_JS百科don't know if it clarify enough the question


Daniel is right the ASP.NET MembershipProvider is what your looking for. Here is a nice walkthorough the ASP.NET Membership Provider.

It explains in details what to do to let people register/sign on/off.


Finally, I will use the watin library (http://watin.sourceforge.net/) wich is exactly what I needed.

Thanks for your answers


Look into the Membership Providers provided by ASP.NET

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜