且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

ASP.NET 2.0成员身份登录事件

更新时间:2023-12-04 08:24:34

lanem写道:
我正在一个网站上工作,我正在使用ASP.NET 2.0和其会员资格
处理安全性的功能。当有人登录时,我需要运行一小段代码。登录控件的什么事件将是***的地方?我没有运气让这个工作。我认为这很常见,不应该这么难。
任何帮助都将受到赞赏。谢谢。
I am working on a site, and I am using ASP.NET 2.0 and its Membership
features to handle security. I need to run a little piece of code
when someone logs in. What event of the Login control would be the
best place to put this? I am having no luck getting this to work. I
would think this would be pretty common and shouldn''t be this hard.
Any help will be appreciated. Thanks.




您应该覆盖ValidateUser。


-

Jim Cheshire >
JIMCO软件
http://www.jimcosoftware.com


FrontPage 2000的FrontPage插件 - 2003



You should override ValidateUser.

--
Jim Cheshire
JIMCO Software
http://www.jimcosoftware.com

FrontPage add-ins for FrontPage 2000 - 2003



你能给我一些吗?细节好吗?在这种情况下,我真的不知道

将如何帮助。谢谢。


JIMCO软件写道:
Could you give me some more details please? I don''t really know how that
will help in this case. Thanks.

"JIMCO Software" wrote:
lanem写道:
我正在一个网站上工作,我正在使用ASP.NET 2.0及其会员
功能来处理安全。当有人登录时,我需要运行一小段代码。登录控件的什么事件将是***的地方?我没有运气让这个工作。我认为这很常见,不应该这么难。
任何帮助都将受到赞赏。谢谢。
I am working on a site, and I am using ASP.NET 2.0 and its Membership
features to handle security. I need to run a little piece of code
when someone logs in. What event of the Login control would be the
best place to put this? I am having no luck getting this to work. I
would think this would be pretty common and shouldn''t be this hard.
Any help will be appreciated. Thanks.



你应该覆盖ValidateUser。

-
Jim Cheshire
JIMCO软件
http://www.jimcosoftware.com

FrontPage 2000的FrontPage加载项 - 2003



You should override ValidateUser.

--
Jim Cheshire
JIMCO Software
http://www.jimcosoftware.com

FrontPage add-ins for FrontPage 2000 - 2003



lanem写道:
你能告诉我更多细节吗?在这种情况下,我真的不知道如何帮助。谢谢。
Could you give me some more details please? I don''t really know how
that will help in this case. Thanks.




你说当用户通过会员登录时你想要执行一些代码。

如果你想这样做,你就是需要覆盖ValidateUser。这是用户通过会员登录时执行的

方法。


-

Jim Cheshire >
JIMCO软件
http://www.jimcosoftware.com


FrontPage 2000 - FrontPage加载项



You said you wanted to execute some code when a user logs in via Membership.
If you want to do that, you would need to override ValidateUser. That''s the
method that executes when users log in via Membership.

--
Jim Cheshire
JIMCO Software
http://www.jimcosoftware.com

FrontPage add-ins for FrontPage 2000 - 2003