I have the situation where we use two membership providers, and we want our two user bases (customer and epi users) to use different login pages. We achieve that by using a custom login proxy page that routes the user to the right login page based on the original page the user where trying to go to.
The customer part is easy since we want it to totally cusom, we want the epi part to be like the default epi login but I can't find out if there is an EPiLogin control or anything like that. I tried to forward all the epi users to the /Util/Login.aspx and works to some extent, the login part is fin but the users is not redirected to the page he or she where trying to access; that is, the user stays on /Util/Login.aspx if the url is not manually changed.
Is there a trick to get the /Util/Login.aspx to work as it should even though it is not the default login page? Or is there a way to use the login control outside of the /Util/Login.aspx page?