WestCoast_BC
asked on
Application.cfc - what is the order of events?
Can someone please explain the order of events in Application.cfc?
If it is the first time I am assuming that OnApplicationStart is first following by OnRequest, OnRequestStart, OnSessionStart? And then what?
Can someone please give me the order that these are called or point me to a website that describes this.
Thank you
If it is the first time I am assuming that OnApplicationStart is first following by OnRequest, OnRequestStart, OnSessionStart? And then what?
Can someone please give me the order that these are called or point me to a website that describes this.
Thank you
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Are the variables new code? If so, try clearing your browser cookies to force a new session. It's possible they're not being set because you already have an existing session in progress, so OnSessionStart isn't firing. It won't fire again until the current session ends. If not, add some logging to OnSessionStart to verify they're being set.
as @agx said, try that
and also if you are setting the new sessions in your application and that are not a part of the onsession method, try to write a piece of code in the onrequeststart which will add default sessions with some default values, initially they will be empty, but you can always fill them later,
i do not know how your application is setup, but you can try this.
and also if you are setting the new sessions in your application and that are not a part of the onsession method, try to write a piece of code in the onrequeststart which will add default sessions with some default values, initially they will be empty, but you can always fill them later,
i do not know how your application is setup, but you can try this.
ASKER