using System; using System.Web.Security; using WebLib; namespace Education.MobileSurvey { public partial class Complete : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { if (Session[PublicVariable.UserId] == null || string.IsNullOrEmpty(Session[PublicVariable.UserId].ToString())) { Response.Redirect("Login.aspx"); } } protected void btnBack_Click(object sender, EventArgs e) { Response.Redirect("SurveyList.aspx"); } protected void btnLogout_Click(object sender, EventArgs e) { Session.Clear(); FormsAuthentication.SignOut(); Response.Redirect("Login.aspx"); } } }