You do have the log-in control I am assuming on the page? I know it is a dumb question.
Now also do you have a LoginView Control? a LoginStatus Control and a LoginName Control
You need to have it set up something like this
<asp:LogInView runat="server" id=LoginView1">
<anonymousTemplate>
You Are Not logged in!
</anonymousTemplate>
<LoggedinTemplate>
<asp:LoginName ID="LoginName" runat="server" />
<asp:LoginStatus ID="LoginStatus" runat="server" />
</LoggedinTemplate>
</asp:LogInView>
Or you can display based upon roles
<asp:LogInView runat="server" id=LoginView1">
<anonymousTemplate>
You Are Not logged in!
</anonymousTemplate>
<RoleGroups>
<RoleGroup Roles="Role1" >
<contenttemplate>
<asp:LoginName ID="LoginName" runat="server" />
<asp:LoginStatus ID="LoginStatus" runat="server" />
You are in Role 1
</contenttemplate>
</RoleGroup>
<RoleGroup Roles="Role2" >
<contenttemplate>
<asp:LoginName ID="LoginName" runat="server" />
<asp:LoginStatus ID="LoginStatus" runat="server" />
You are in Role 2
</contenttemplate>
</RoleGroup>
</RoleGroups>
</asp:LogInView>
If you do this and it still does not log you in then there is something wrong with the database connection
I am writing this to verify that you have all of the correct items in place correctly to see if you are logged in.
"Success is the Sum of Small Efforts, Repeated Day in and Day Out - Without Ceasing!"
Robert Hall
CEO and Founder
My Service Solutions, Inc.