I've been reading this - and having similar issues with onSessionStart:
http://groups.google.com/group/model-glue/browse_thread/thread/beb675140175a6be/77c81192c3055bb5?lnk=gst&q=onsessionstart#77c81192c3055bb5
I've had onRequestStart wired up in this manner and it's always worked fine.
This AM I'm attempting to do the same thing with onSessionStart and
having no luck whatsoever...
My ModelGlue.xml
-------------------------------
<!-- CONTROLLERS -->
<controllers>
<controller id="Controller" type="credtrak.controller.controller">
<message-listener message="onSessionStart" />
<message-listener message="onRequestStart"/>
<message-listener message="onError"/>
<message-listener message="redirectUser"/>
<message-listener message="sendContact"/>
</controller>
</controllers>
My Application.cfc
--------------------------
<cffunction name="OnSessionStart" access="public" returntype="void"
output="false" hint="Fires when the session is first created.">
<!--- Set flag letting MG know it needs to broadcast onSessionStart
before onRequestStart --->
<cfset request._modelglue.bootstrap.sessionStart = true />
</cffunction>
My main controller ( \credtrak\controller\Controller.cfc )
---------------------------
<cffunction name="onSessionStart" output="false" access="public"
returntype="void" hint="I run on every session start">
<cfargument name="event" type="any" required="true">
<!--- CFDUMP: Debugging --->
<cfdump var="#cgi#" top=2 label="My Dump On Session Start"
abort="true">
</cffunction>
I've reloaded and restarted things - all with no luck.
What am I missing?
Thanks!
Jim
--
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog
You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en