Re: membership provider




My rudimentary understanding is that the membership provider is for
authentication
updates to info/security/roles etc

http://msdn2.microsoft.com/en-US/library/f1kyba5e.aspx

In your case, I think your login screen needs to use the custom provider..
and then REDIRECT to the next page,
where (because you're verified) you run your routines.
The login screen should be nothing but authentication,, the redirect happens
after you are verified, and the next page does your custom needs.

I'm not sure what db youre using, but .....
If you're running 8 seperate queries, my thoughts would be to put these into
1 stored procedure and populate 1 strongly typed DataSet, with 8 tables in
it.
That way, you're only hitting the db twice.

Once on the verification/login screen.
then REDIRECT
then once to get the 8tables of info.

I think you're barking up the wrong tree trying to have this functionality
merged.

...




"John" <me@xxxxxx> wrote in message
news:u6GGiIaeGHA.4900@xxxxxxxxxxxxxxxxxxxxxxx
OK, I read and read again information on using the logon control, 'custom
providers' but none are really helping me out with creating a provider to
go against my database to validate the users logging into my web app. What
happens when a user logs into my site is, 8 queries are executed, 1
verfies
the user, and the others get data pertaining to that users id, so drop
downs
are populated for that user, etc., So is it possible to use the 2.0
providers to do this same thing, and can someone show me some code of a
provider going against a SQL database (not the membership one 2.0 creates)
your own DB, to validate users loggging into your web app?

going nuts




.



Relevant Pages

  • Re: Web Site Configuration for remote users
    ... My site uses Accounts, Roles etc and I'd like to rip out my custom ... A proper method to distribute this to my provider (a .net hosting ... Authentication ... Also, on a brand new WS2003 machine, the Config site is there, but ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Defining Groups with AD users
    ... For ASP.NET authentication and role based authorization, ... you can configure the membership to use AD ... membership provider and Rolemanager to use SQL server provider. ... Microsoft MSDN Online Support Lead ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: ASP.NET 2.0 Authentication pattern
    ... > - create custom IIdentity for additional user information ... You need to think about authentication as a seperate "silo" of functionality ... The provider architecture handles these ... areas out into its own provider and backing data store. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: [fw-wiz] Radius access from provider to internal MS ISA Server
    ... > Our network-engineers are planing a vpn. ... > a selected local internet provider. ... > without an additional radiusproxy in our dmz. ... I prefer to keep internal and external authentication realms different, ...
    (Firewall-Wizards)
  • Re: Defining Groups with AD users
    ... For ASP.NET authentication and role based authorization, ... you can configure the membership to use AD ... membership provider and Rolemanager to use SQL server provider. ... Microsoft MSDN Online Support Lead ...
    (microsoft.public.dotnet.framework.aspnet.security)