OnRequestStart doesn't always run on request start?!?
I have an application.cfc file in my root directory with the following line:
<cffunction name="onRequestStart">
<cfif NOT IsDefined("Session.PortalPermissions")>
<cfset Session.PortalPermissions = 0>
</cfif>
</cffunction>
however i occasionally receive this error report which is emailed to me. The error is never generated from an included template, not the application.cfc file itself:
Element PORTALPERMISSIONS is undefined in SESSION.
Template: C:\Inetpub\mysite\secure\utilities\tinymce\index.cfm
I'm wondering how it's possible to receive thie error message if the onRequestStart method is called before my template that uses the Session.PortalPermission.
Thanks!
