|
|
|
start date: Wed, 8 Aug 2007 21:58:01 -0700,
posted on: microsoft.public.dotnet.framework.aspnet.webcontrols
back
| Thread Index |
|
1
hfdev
|
|
2
Manish Bafna
|
|
3
hfdev
|
Forms Authentication without Membership provider?
Hello,
Can you use the ASP.NET Forms Authentication and Login controls without
using the Membership Provider?
I have my own database schema of company/supplier/customer/user data and
don't really want to extend the providers.
Thanks for your insight,
Josh Blair
HydraForce, Inc.
Date:Wed, 8 Aug 2007 21:58:01 -0700
Author:
|
RE: Forms Authentication without Membership provider?
Hi,
You will below links useful on using formsauthentication in ASP.NET2.0.As
you said that you want to use LoginControl.Then you can use all the code
givev in below link except that you will need to use this
syntax(((TextBox)myLoginCtrl.FindControl("UserName")).Text) in order to find
username and similar syntax for finding password.Since you are using login
control you will not get username/password directly.You will get by using
FindControl on login Control.
http://www.aspnettutorials.com/tutorials/validation/authentication-aspnet2-csharp.aspx
http://www.devcity.net/Articles/53/1/formauth_xml.aspx
--
Hope this answers your question.
Thanks and Regards.
Manish Bafna.
MCP and MCTS.
"hfdev" wrote:
> Hello,
>
> Can you use the ASP.NET Forms Authentication and Login controls without
> using the Membership Provider?
>
> I have my own database schema of company/supplier/customer/user data and
> don't really want to extend the providers.
>
> Thanks for your insight,
>
> Josh Blair
> HydraForce, Inc.
Date:Wed, 8 Aug 2007 22:56:00 -0700
Author:
|
RE: Forms Authentication without Membership provider?
Manish ,
Thanks for the information and the links.
I was trying to use the new login server controls but ended up building them
myself with regular ASP.NET server controls.
Thanks again,
Josh Blair
HydraForce, Inc.
Date:Thu, 9 Aug 2007 16:40:01 -0700
Author:
|
|
|