Membership.ValidateUser() from Login.OnAuthenticate()?
- From: "asnowfall@xxxxxxxxx" <asnowfall@xxxxxxxxx>
- Date: Tue, 15 Jan 2008 12:19:03 -0800 (PST)
I am using 'System.Web.Security.Membership' &
'System.Web.UI.WebControls.Login' control to implement Forms based
authentication.
Can I call Membership.ValidateUser() from Login.OnAuthenticate()? I
want to do this because I want to control cookie creation.
I have not been able to find a sample code where
Membership.ValidateUser() is called and
'System.Web.UI.WebControls.Login' control is also being used at the
same time; and I see Membership.ValidateUser() being used along with
custom log-in form.
Please let me know whether it is legal to call
Membership.ValidateUser() from Login.OnAuthenticate().
Thanks
Ramesh
.
- Follow-Ups:
- Re: Membership.ValidateUser() from Login.OnAuthenticate()?
- From: Dominick Baier
- Re: Membership.ValidateUser() from Login.OnAuthenticate()?
- Prev by Date: Authentication, Membership and login controls
- Next by Date: Re: Membership.ValidateUser() from Login.OnAuthenticate()?
- Previous by thread: Authentication, Membership and login controls
- Next by thread: Re: Membership.ValidateUser() from Login.OnAuthenticate()?
- Index(es):
Relevant Pages
|
|