Can anyone help me on this. I've created my Application.cfc
file with the following:
<cfcomponent displayname="myName" output="false">
<cfset this.name = "applicationName">
<cfset this.applicationTimeout = CreateTimeSpan(0, 0, 20,
0)>
<cfset this.scriptProtect = "all">
<cffunction name="onApplicationStart" output="false">
<cfset request.dsn = "codeLib">
</cffunction>
<cffunction name="onRequestStart" returntype="void"
output="true">
<cfinclude template="header.cfm">
</cffunction>
<cffunction name="onRequestEnd" returntype="void"
output="true">
<cfinclude template="footer.cfm">
</cffunction>
</cfcomponent>
But when i try to make a db call on my page i get an "Element
DSN is undefined in REQUEST", same as with application.dsn. Is the
application not starting or something ??
Thx heaps