Author: cartaysmm | Posted on: 10/28/2008 5:10:09 PM | Views : 416

 OK Here we go again. I am still trying my hardest to get this role thing going on my site.  The code below in the pages above the code work in the sense that it authenticates me, however does not see the role.  I have investigated this issue for about a week now and have come close to solving it.  In C# there is a statement in global " if(authCookie == null) return; "  If I break at this point, when its hit it goes back to login "  if (roles != null) "  I think that this is where its setting the Admin Role, However I cannot get my code to back track like that.  CAN SOMEONE PLEASE HELP!

Here is my code:
Login Page:...
 Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs)

        Dim myConnection As OleDbConnection
        Dim myCommand As OleDbCommand
    &nb ...

Go to the complete details ...