If you are using session.ANYTHING, you will get an error. In
onSessionEnd, you must use the Session scope as it is passed in as n
argument. So arguments.sessionData.whatever instead of
session.whatever.


On Wed, Jun 15, 2011 at 11:17 AM, Gerald Weir
<[email protected]> wrote:
>
> Just for testing I moved my CFC with the "real" code to write the 
> session.array to the database up to the root level so that I could identify 
> the component as component="jobState".  That way I could test the CFC itself 
> without worrying about the location.
>
> So, calling the real component/method that is successful when called from a 
> test file appears to fail somehow and the end of session record is not 
> written to the log file.
>
> Is it possible that since I'm in the onSessionEnd and the SessionScope must 
> be passed to it that the session.jobStepArray that exists for the user is not 
> available to the cfc that wants to write it?
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345342
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to