示例#1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (string.IsNullOrEmpty(AppUtils.FullName()))
     {
         string url = Request.Path;
         Response.Redirect("security.signin.html?u=" + Server.UrlEncode(url), false);
         Response.Flush();
         Response.End();
     }
     else
     {
         lblName.Text = AppUtils.FullName() + " (" + AppUtils.Email() + ")";
     }
 }