protected void Page_Load(object sender, EventArgs e) { if (Session["LoginId"] == null) { Response.Redirect("Login_Page.aspx"); } else { List <String> information = new List <String>(); SQLAccess sqla = new SQLAccess(); sqla.GetUserInformation(Session["LoginId"].ToString(), information); } }