Stops execution of the current page and opens a CFML page or HTML file.
location(url [, addtoken] [, statuscode])
→ returns void
true
false
Relocates to a different page if user is not logged in.
if(!structKeyExists(session, "userID") {
location("login.cfm");
}