Exemple #1
0
 public static void StaticRedirect(string addressOrBasePath, bool retainParameters)
 {
     if (retainParameters)
     {
         WebQuery query = new WebQuery(Context);
         query.Redirect(addressOrBasePath);
     }
     else
     {
         Context.Response.Redirect(addressOrBasePath);
     }
 }
Exemple #2
0
        public static void StaticRedirect()
        {
            WebQuery query = new WebQuery(HttpContext.Current);

            query.Redirect();
        }