Ok, I found the cause:

onSessionStart()
<cfset THIS.sessionTimeout = "#CreateTimeSpan(0,0,0,10)#">
<cfoutput>#THIS.sessionTimeout #</cfoutput>

outputs 10. Which means 10 days since the createTimespan() function returns 
units of days (eg CreateTimespan(1,0,0,0)eq 1 and CreateTimespan(0,12,0,0) eq 
0.5)

onApplicationStart()
THIS.sessiontimeout=CreateTimeSpan(0,0,0,10)
<cfoutput>#THIS.sessiontimeout#</cfoutput>

outputs 0.000115740740741 which equals 10 secs.

Why the same variable (THIS.sessiontimeout) gives a different value in the 
onApplicationStart() and onSessionStart() handler is beyound me. If I cfdump 
the THIS scope in both handlers they are identical except for the value of 
sessiontimeout and applicationtimeout.
Marc 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304693
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to