SoftadminSnippet.Page_Redirect

Show allHide all
Type: Stored procedure

Redirects the user.

Example

DECLARE @Path nvarchar(MAX) = SoftadminSnippet.PathPattern('mysite', 'LogIn');

EXEC SoftadminSnippet.Page_Redirect
	@Url = @Path;

See also

Parameters

@IsRelativeToWebSiteUrl optional bit
Whether relative URLs should be considered relative to the "Web site URL" setting. Defaults to 1.
@Url mandatory nvarchar
URL to redirect to.