Re: Membership.ValidateUser() from Login.OnAuthenticate()?
- From: "asnowfall@xxxxxxxxx" <asnowfall@xxxxxxxxx>
- Date: Wed, 16 Jan 2008 09:18:45 -0800 (PST)
I am using custom membership provider and I think your answer applies
holds even for that.
Thanks
Ramesh
On Jan 15, 5:29 pm, Dominick Baier
<dbaier@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Yep. You can do that. It is simply doing a database call to verify the supplied
credentials.
-----
Dominick Baier (http://www.leastprivilege.com)
Developing More Secure Microsoft ASP.NET 2.0 Applications (http://www.microsoft.com/mspress/books/9989.asp)
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- Hide quoted text -
- Show quoted text -
.
- References:
- Membership.ValidateUser() from Login.OnAuthenticate()?
- From: asnowfall@xxxxxxxxx
- Re: Membership.ValidateUser() from Login.OnAuthenticate()?
- From: Dominick Baier
- Membership.ValidateUser() from Login.OnAuthenticate()?
- Prev by Date: RE: Trust An assembly with .NET framework 2.0
- Next by Date: Error Consuming Web Service from WIndows application when WebService is using Custom Service Account ( Create an Application Pool with a Custom Identity)
- Previous by thread: Re: Membership.ValidateUser() from Login.OnAuthenticate()?
- Next by thread: RE: Trust An assembly with .NET framework 2.0
- Index(es):
Relevant Pages
|
|