Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Forms Authentication without Membership provider?

Reply
Thread Tools

Forms Authentication without Membership provider?

 
 
hfdev
Guest
Posts: n/a
 
      08-09-2007
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.
 
Reply With Quote
 
 
 
 
Manish Bafna
Guest
Posts: n/a
 
      08-09-2007
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/tutor...t2-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.

 
Reply With Quote
 
 
 
 
hfdev
Guest
Posts: n/a
 
      08-09-2007
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.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SiteMinder vs .NET Membership Provider/Forms Authentication vcuankitdotnet ASP .Net 3 03-19-2008 01:11 PM
Best practices for using forms authentication and security in a hosted env (was: Re: Using a Forms authentication in a shared hosting environment) JEFF ASP .Net 1 11-12-2007 07:00 PM
forms authentication -- expired forms cookie vs. not provided forms cookie Eric ASP .Net Security 2 01-27-2006 10:09 PM
Accessing htm files without authentication (forms authentication) Kamil P ASP .Net Security 1 11-10-2004 03:44 PM
Forms Authentication question: How to have some pages open and some requiring forms authentication Eric ASP .Net 2 02-13-2004 02:14 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57