登陆

//登陆

FormsAuthentication.SetAuthCookie(userID, false);

//退出

 FormsAuthentication.SignOut();  

原文地址:https://www.cnblogs.com/lxf1117/p/5135247.html