I have three web applications I am creating NET that will share all the user databases and login information. Let's come that the application is a "parent" application and the applications are "A" and "B" "hair" applications. All users will have to be logged in Application 1 to access for AP1A.
Authorization, authentication and machine sections of all web configurations are present and work correctly.
I get a single sign except the problem in the right web in all web applications. Config settings are: What do I put in the "loginUrl" attribute of the form tag in App A and B.
Assume that the application for URL is in "www.johnsapp.com/login.aspx" How can I get Web Admin A and B? Can I send the URL back to Application 1 for authentication to use the same settings in web.config?
You can use
if (request. ) Response.Redirect ("~ /login.aspx?ReturnUrl=~/thisurl"); The page_load function of code_hind in
It will automatically redirect.
Comments
Post a Comment