keesjan wrote:To create a user manually use:
CustomerService.InsertCustomer( Customer customer)
To authenticate a user either implement IAuthenticationService or use
FormsAuthenticationService
That looks promising, but still seems a bit beyond my reach. Where would you implement that line of code? Let me explain...
I need to have NC tightly coupled to a parent site. I was thinking about this approach.
1. Use an HTTPModule on the NC site to check for existence of a custom authentication cookie from the parent site.
2. If cookie does not exist, handle by routing them to the login page of the parent site, or displaying a message of some sort.
3. If cookie does exists, inspect to see if user has already been registered in NC.
4. If user is NOT registered in NC, perform registration for them and log them in.
5. If user IS registered in NC, log them in.
All of that would happen inside the HTTPModule. Does that seem ok? Can all I require be done in an HTTPModule?