MarkLogic Server 11.0 Product Documentation
xdmp.redirectResponse

xdmp.redirectResponse(
   name as String
) as null

Summary

Redirects the App Server response to a given location.

In an isolated evaluation context (see xdmp.isIsolated), this function is not available and throws XDMP-ISOLATED.

Parameters
name The redirect URL.

Example

xdmp.redirectResponse("http://marklogic.com/howtobuy.xqy");
Powered by MarkLogic Server | Terms of Use | Privacy Policy