Updates the context URI of the alternate URL after doing a URL rewrite.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
'Declaration Public Shared Sub UpdateAfterUrlRewrite 'Usage SPContext.UpdateAfterUrlRewrite()
public static void UpdateAfterUrlRewrite()
For some operations that happen before the URL rewrite occurs, the context URI is setup with the incoming URI which is different than the HttpContext.Current.Request.Url when a URL rewrite is done. This method updates that stored URI.
This operation is supported only in AuthenticateRequest or AuthorizeRequest events of the IIS notification pipeline.