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

  <cfforward template="page.cfm">

 cfforward( "page.cfm" );

Attribute Reference

template string

A logical path to a CFML page.

Sample code using the cfforward tag

cfforward( "mypage.cfm" );

<cfforward template="mypage.cfm">

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub