| -----Original Message----- | From: [email protected] [mailto:[email protected]] On Behalf | Of Kym Kovan | No, the body runs every time. Think of the <cfset This.Name = | "theSiteName" /> lines at the beginning of the CFC, like the | <cfapplication...> tag in an Application.cfm file it runs every time. | | So the sessiontimeout code is running every page hit...
Ok, now I see that (that it runs on every request). I have also confirmed that it works differently in CFMX8 compared to OpenBD1.2, and I have set up a test case. In CFMX you can set the sessiontimeout in the body of Application.cfc and that is valid for for that request/session, and doesn't conflict with other session timeouts. In OpenBD if you set the sessiontimeout in the body of Application.cfc, that applies to all active session, and the last value set there is the one that applies. I am not sure the CFMX behaviour is very intuitive though, since it is defined as an Application-wide setting (but isn't!). I think it would make more sense if there was an Application setting, and a possibility to override it in e.g. onSessionStart and maybe set it in the session scope. I have logged this as issue 118 <http://code.google.com/p/openbluedragon/issues/detail?id=188> I hope my instructions and description make sense! Cheers, Hugo -- Open BlueDragon Public Mailing List http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon mailing list - http://groups.google.com/group/openbd?hl=en !! save a network - please trim replies before posting !!
