<cfset This.name = "Company"/>
<cfset This.sessionManagement = "true"/>
<cfset This.applicationManagement = "true"/>
<cfset This.sessionTimeout = "#createTimeSpan(7, 0, 0, 0)#"/>
<cfset Application.EmployeeComponent = createObject('component', '/dashboard/Humanresources/cfc/Employees')/>
<cfparam name="Session.employeePK" type="numeric" default="0"/>
<cffunction name="onRequestStart" returnType="boolean">
<cfargument type="String" name="targetPage" required="true"/>
<cfif Session.employeePK And NOT Application.EmployeeComponent.getEmployeeisActive(Session.employeePK).recordCount>
<cfabort>
</cfif>
<cfreturn true>
</cffunction>
Session and Application variable error???
Throws an error that Session.employyePK and Application.EmployeeComponent do not exists when onRequestStart function is excuted???