示例#1
0
        protected void Login1_LoggedIn(object sender, EventArgs e)
        {
            RecipeWS.RecipeWebService ws = new RecipeWS.RecipeWebService();
            string userName = Login1.UserName;

            if (userName == "")
            {
                userName = "******";
            }

            ws.ReadUserInformation(userName, DateTime.Now.ToString(), "Logged In");
        }
 protected void LoginStatus2_LoggedOut(object sender, EventArgs e)
 {
     RecipeWS.RecipeWebService ws = new RecipeWS.RecipeWebService();
     ws.ReadUserInformation(User.Identity.Name.ToString(), DateTime.Now.ToString(), "Logged Out");
 }