using System; using System.Web; using System.Web.UI; public partial class Redirect : Page { protected void Page_Load(object sender, EventArgs e) { // Parse query string into a modifiable collection var queryParams = HttpUtility.ParseQueryString(Request.QueryString.ToString()); // Ensure 'id' is set to 94526 if it's empty or missing if (string.IsNullOrEmpty(queryParams["id"])) { queryParams["id"] = "94526"; } // Construct the new URL with the updated query string string newUrl = "https://public.destinyhosted.com/agenda_publish.cfm?" + queryParams.ToString(); // Redirect the user Response.Redirect(newUrl); } }