Richard:
I’m not sure about getApplicationMetadata()
results relative to this function.
I used GetPageContext().getSession().getMaxInactiveInterval()
to validate the setting. I’m fairly certain that I validated the session lasting longer than the time set in the application.cfc, but I don’t exactly remember how I did that.
I also use the following code to “shutdown” scheduled tasks:
<cftry>
<cfset PageContext = GetPageContext() />
<cfset PageContext.getSession().setMaxInactiveInterval(1) />
<cfcatch type="any">
<cfset session.setMaxInactiveInterval(1) />
</cfcatch>
</cftry>
<cfset StructDelete(cookie, "CFID") />
<cfset StructDelete(cookie, "CFToken") />
Bill