private void GoToRegistrationTest() { RegistrationInfo info = new RegistrationInfo(); info.FirstName = tbFirstName.Text; info.LastName = tbLastName.Text; info.Email = tbEmail.Text; info.Password = tbPassword.Text; //Response.Redirect("RegisterSuccess.aspx"); Session["RegistrationInfo"] = info; Response.Redirect("RegistrationTest"); }