Author: Mainship | Posted on: 8/15/2007 4:53:18 PM | Views : 307

I have membership working on another website, and it was working on this one.  I had to stop work on this one for awhile, now I can't get membership working.
This is what I have:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
    Dim user As String = MemberShip.GetUser.UserName
    Dim sRole As String = "Manage"
    If RadioAdmin.Checked = True Then
        sRole = "Admin"
    End If
    If (Roles.IsUserInRole(user, "Admin")) Or (Roles.IsUserInRole(user, "Webmaster")) Then
        'create(New user)
        PnlAdmin.Visible = True
        If UserName.Text <> " ...

Go to the complete details ...