What is relocate()?

relocate() is a replacement for <cflocation> to do a location.href redirect and keep the user in the framework.

relocate()
Argument Type Required? Description
action string Required The name of the action you want to call.

In multiple controllers or assigned controlleres:
controllerName + actionDelimiter + actionName
e.g. home.welcome
qstring string Optional The query string you want to pass into the relocate() request.