.Net Asp.Net MVC Development

Manually Logging User with Role

To logging a user with a custom role, you have to create an authentication cookies, only after user has been authenticated (Username and password has been verified). FormsAuthenticationTicket¬†Class Namespace: System.Web.SecurityAssembly: System.Web.dll Constructor: public FormsAuthenticationTicket (int…