SO something like this
<cffunction name="onRequestStart" returntype="boolean"
output="yes">
<CFSET request.dataSource = "enroll">
<cfreturn true>
</cffunction>
TheScarecrow wrote:
> SO something like this
> <cffunction name="onRequestStart"
returntype="boolean" output="yes">
> <CFSET request.dataSource = "enroll">
> <cfreturn true>
> </cffunction>
>
> Then how do I use it on the other pages?
>
OnRequestStart is invoked at the start of every request. So
it would be
invoked at least once per page, thus setting that variable
for you.