SoftadminSnippet.Page_ReplaceUrl

 Show all Hide all

Replaces the URL. Behaves like a redirect except that the previous URL is not saved in the browser's session history and e.g. can not be reached with the back button.

Example

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

EXEC SoftadminSnippet.Page_ReplaceUrl
	@Url = @Path;

See also

Type: Stored procedure
Area of use: API

Parameters:

@Url mandatory nvarchar
URL to replace current location with.