Posted on: 6/4/2012 9:28:53 AM | Views : 206

I am using asp.net memebership 
I log out the applcation by writting this code for log out 
if (Membership.GetUser(HttpContext.Current.User.Identity).IsOnline) ; { FormsAuthentication.SignOut(); Response.Redirect(FormsAuthentication.LoginUrl); } Response.Redirect("loginpage.aspx"); After then I started the application and gettig the error in code block of authetication .below I am writtng a code and error message 
else if (User.Identity.IsAuthenticated == true && Membership.GetUser( Membership.FindUsersByName(User.Identity.Name)).IsOnline==true) { FormsAuthentication.SignOut(); FormsAuthentication.RedirectToLoginPage(); MembershipUser currUser = null; string gt = null; if (HttpContext.Current.User ...

Go to the complete details ...