Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Updates the context URI of the alternate URL after doing a URL rewrite.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Sub UpdateAfterUrlRewrite
'Usage
SPContext.UpdateAfterUrlRewrite()
public static void UpdateAfterUrlRewrite()
Remarks
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.