asp:Login Control Button Not Executing Unless Page Is Refreshed Before Login
Firstly hello! I'm developing a jQuery Mobile 1.1 based instance of Umbraco v 4.7.2 and I seem to have run into a problem with the asp:Login control. The control works great when used as a stand-alone page but when I use the control as the Login page for Public Access, it fails to log the user in and just redirects to the root of the site.
So I enabled debugging and dropped the PDB file into the bin so I can step through the Login control and sure enough, the login_click method is not hit at all when it is clicked. Now the curious bit, manually refeshing the page before logging in results in the method being hit, the user is authenticated, and is redirected to the protected content.
We had nested master pages and the <form> tag was on the parent masterpage which I thought would handle all controld embedded in child templates. Removing the <form> tag from the parent and wrapping each individual embedded user control tag with it instead fixed everything.
asp:Login Control Button Not Executing Unless Page Is Refreshed Before Login
Firstly hello! I'm developing a jQuery Mobile 1.1 based instance of Umbraco v 4.7.2 and I seem to have run into a problem with the asp:Login control. The control works great when used as a stand-alone page but when I use the control as the Login page for Public Access, it fails to log the user in and just redirects to the root of the site.
So I enabled debugging and dropped the PDB file into the bin so I can step through the Login control and sure enough, the login_click method is not hit at all when it is clicked. Now the curious bit, manually refeshing the page before logging in results in the method being hit, the user is authenticated, and is redirected to the protected content.
Does anyone have any insight into the issue?
Thanks in advance.
Figured it out.
We had nested master pages and the <form> tag was on the parent masterpage which I thought would handle all controld embedded in child templates. Removing the <form> tag from the parent and wrapping each individual embedded user control tag with it instead fixed everything.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.