When I attempt log in, it seems to authenticate OK as it does'nt throw an error, and also it makes the auth cookie, however it does not redirect to intranet.aspx, it just loops back to the login page.
" umbracoRequestHandler Page protected No member with loginname: peter Exists
umbracoRequestHandler Not logged in - redirecting to login page..."
So looks like it's not logging the user in, even though it's making the auth cookie? Is there something else I'm missing? is there another cookie it should be making also? UMB_MEMBER ?
ASP:Login Redirect
Hey All
I've got a role-based protected folder called "intranet" and use a asp:login in the login template like so:
Which points to login.ascx which looks like:
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Login.ascx.cs" Inherits="PTMAuth.Login" %><form id="Form1" runat="server">
<asp:Login ID="Login1" runat="server" onauthenticate="Login1_Authenticate"></asp:Login>
</form>
Then in the code behind I've got:
In the webconfig, i've got it accessing an AD store for the membership provider like so:
When I attempt log in, it seems to authenticate OK as it does'nt throw an error, and also it makes the auth cookie, however it does not redirect to intranet.aspx, it just loops back to the login page.
Thanks
Peter
Ah just noticed on the stacktrace...
" umbracoRequestHandler Page protected
No member with loginname: peter Exists
umbracoRequestHandler
Not logged in - redirecting to login page..."
So looks like it's not logging the user in, even though it's making the auth cookie? Is there something else I'm missing? is there another cookie it should be making also? UMB_MEMBER ?
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.