We have developed an integrated unified system for user authentication.
When a page is requested, if it is not authenticated, the login page will be redirected. After they enter the requested page, they will be shown.
this works when we do not assign a domain to a virtual directory. But when we assign a domain to a virtual directory after authentication, the application does not redirect to the requested page.
We use the FormsAuthentication.GetRedirectUrl method to redirect the requested page.
Why is this happening? How can we solve this problem?
gopal
source share