2. Inside a ColdFusion Module, what will a CFEXIT tag do?
Exit the module and return to the calling template.
3. Inside a ColdFusion Module, what will a CFBREAK tag do?
Cause an error unless the CFBREAK is within a CFLOOP inside the module.
4. Name 2 ways of setting a cookie (there are actually 3 ways).
Sets a cookie called foo with a value of bar that expires in an hour.
<cfcookie name="foo" value="bar" expires="1">
Sets a cookie called foo with a value of bar that will expire once the users browser leaves the site.
<CFSET cookie.foo="bar">
Sets a cookie called foo with a value of bar that will expire in 30 minutes.
<CFHEADER name="SET-COOKIE" value="foo=bar; expires=#GETHTTPTIMESTRING(DateAdd('n', 30, now()))#">