Created
September 19, 2013 12:39
-
-
Save umair-me/6622837 to your computer and use it in GitHub Desktop.
Redirect the current request back to the current page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// Redirect the current request back to the current page = full page reload | |
/// </summary> | |
public static void RedirectSelf(this HttpResponse response) | |
{ | |
response.Redirect(HttpContext.Current.Request.RawUrl); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment