View Single Post
  #5 (permalink)  
Old August 8th, 2006, 04:18 AM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 72,038, Level: 100
Points: 72,038, Level: 100 Points: 72,038, Level: 100 Points: 72,038, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,080
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Quote:
quote:3. I want to create my login form, i don't want to use "Login Control". How can i solve that
In that case, why bother with a custom provider? Why don't you write your own logic to validate users? The whole idea about a provider (custom or out-of-the-box) is that you can use controls like Login without any additional code. If you don't want to use those controls, I don't see much point in writing a provider.

Quote:
quote:1. Where is stored profile data (becouse there are no rows in the table users for profile data)
Normally, it's stored in the aspnet_Profiles table in your database.

Quote:
quote:2. How can i have a list of all users which have same let say country
This is not something the provider model offers out of the box. You can write the required functionality yourself, and expose it as additional members on your custom providers (e.g. FindUsersByCountry, similar to FindUsersByEmail), or if you don't write a provider through a custom class / API.

Cheers,

Imar