<cfforward>

edit

Leads the request to a different page. This tag acts like the tag cflocation except that the relocation is done directly on the server.

This tag must stand alone — a body/content and closing tag are not allowed.

This tag is also supported within <cfscript>

<cfforward template=string >
Attribute Description
template
string, required
edit

template path to forward to

Usage Notes

edit

The request ends after the forward, like it does after <cflocation>. Code after the tag is not executed (Lucee 9.0 and newer, see Breaking Changes between Lucee 8.0 and 9.0). Use <cfinclude> if the page has to continue after the other template.

Examples

edit

There are currently no examples for this tag.

See also