Function Redirect
(
redirect < url > )
Sends a redirect response to the client. If 'redirect' is called on
a regular request, sends appropriate HTTP headers. If it is called
during an AJAX request, sends weblocks specific JSON interpreted as
redirect on the client.