| To have the browser request one page but be redirected to another, you can use <cflocation>. <cfheader> allows ColdFusion to create attribute/value pairs in HTTP's response headers. You might practice code reuse for many reasons, and using the <cfinclude> tag is a way to do so in ColdFusion. <cfcontent> sends non-HTML files, either existing or built dynamically, to a browser. Sample Questions | 1: | What does the <cflocation> addtoken attribute do? Forces a page redirect. Creates SESSION variables. Appends client identification information to the redirected URL. Creates identification cookies in the client browser.
| | 2: | Which of the following are true about <cfheader>? (select two) It creates attribute/value pairs in the request header. It creates attribute/value pairs in the response header. It can be used to prevent a browser from caching a page. It can be used to prevent a server from caching a page.
| | 3: | The following <cfinclude> tag uses what kind of path? <cfinclude template="/templates_mapping/header.cfm"> Relative ColdFusion mapping
| | 4: | What is displayed from the following line of code? ABC<cfcontent type="text/html" reset="Yes">DEF ABC ABCDEF ABEF DEF
| |