Utility Function: Redirect()
- October 28, 2008 5:30 AM
- Utility Function, ColdFusion
- Comments (0)
Another simple wrapper function, this one for <cflocation/>.
<cffunction name="Redirect" access="public" output="false" returntype="void">
<cfargument name="url" type="string" required="true" />
<cfargument name="addToken" type="boolean" required="false" default="false" />
<cflocation url="#arguments.url#" addtoken="#arguments.addToken#" />
<cfabort />
<cfreturn />
</cffunction>
Print
Send
Digg It!


Comments
There are no comments for this entry.
Add Comment