> Now that should set the session timeout to 1 minute with the variable > holding a value of 0.000694444444444. The problem is, the above code > gives me a value of 60 instead. If I put the same code into the > onrequeststart method, it gives me the proper value. Am I missing > something? I've never seen this before.
I don't have a direct explanation, but Ben Nadel wrote about this a bit a while back: http://www.bennadel.com/blog/611-Using-Session-Timeout-And-CreateTimeSpan-Subtle-Caveat.htm I would suspect that when setting the sessionTimeout as part of the constructor it's taking whatever is passed in and multiplying by 86400 to determine the number of seconds the timeout should be set at, so when you read that value it's giving the calculated response. When set within another method/function, it may be creating another variable (or setting the actual application property) to the literal value returned from createTimeSpan without the multiplication factored in when it's set. -Justin ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346997 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

