Forms, Roles, and webconfig

J

janet

I've got a root web and basically two subfolder applications within it. I've been trying to look at the asp.net configuration settings in IIS6. Since I need different login pages (located in different subfolders), and need two different sql servers to lookup login authentication (already established which I cannot change), I guess the sqlprovider won't work? I think I have to set up subapplications in IIS6 and use sub-webconfig files?

Should I be setting sub-applications in IIS6, editing webconfig for the sub-applications? If so, in .net2, if I wanted to enable the roles, and use a custom sql lookup, and I need a custom form for the user to add themselves. Do I need to delete the managed provider? Do I need to enable role management and then delete the aspNetSqlRoleProvider? Then add a something similar to the item in http://aspnet.4guysfromrolla.com/articles/082703-1.aspx article in each sub-applications global.asax file?

'Sub Application_AuthenticateRequest(sender As Object, e As EventArgs)
'If Request.IsAuthenticated Then
'Determine this user's roles
'Dim reader As SqlDataReader = blah blah
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top