Hi,
I'm currently in the process of constructing a stripped down version of the company website that will be show to people logging in from a mobile device. When the user logs in to the homepage, he or she is directed to the homepage default.aspx, where they can login. As part of the Page_Load of this page, I added a check if the Request.Browser.IsMobileDevice, and in that case redirected to the custom mobile login page: Response.Redirect("~/mobile/login.aspx", true). However, the redirection never happens, and instead the program returns to the Page_Load in default.aspx, which creates an infinite loop. Does anyone know why this could be? I have noticed in the output console that when the redirection happens there is an unhandled ThreadAbortException in App_Web_<app specific string>.dll, does this mean anything? I have tried stepping through the code but as soon as I enter the Redirect the method returns right back to the top of Page_Load.
Thanks,