We're seeing some weird behavior on one of our applications.

It looks like if we check "use j2ee session variables" in the admin,
the our Application.cfc's onSessionStart() isn't called.  (I put a
dump and an abort in onSessionStart() to verify it).

Is there something different about j2ee variables that could cause
this? Or some special setting in Application.cfc we need to use?  I've
checked the web-inf/web.xml session-timeout setting to make sure it's
longer than the CF settings.

Here's the basic abbreviated code from application.cfc:
<cfcomponent>
        <cfset this.sessionManagement = true>
        <cfset this.sessionTimeout = CreateTimeSpan(0,0,20,0) />

        <cffunction name="onSessionStart">
                <cfdump var="here">
                <cfabort>
        <cfscript>
                        // sign up form
                        session.stSignupForm = structNew();
        </cffunction>

</cfcomponent>

The dump of "here" doesn't show up with j2ee session variables checked.

Scott

Scott

-- 
-----------------------------------------
Scott Brady
http://www.scottbrady.net/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331679
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to