I have been specializing in building web-based applications since 1998, primarily using HTML, Flex, LiveCycle, Java, ColdFusion, and SQL Server.
You found yourself here, so hopefully you'll get something good out of it!
Thursday, October 12, 2006
CreateTimeSpan() and Session Timeouts
I wanted to determine how long my sessionTimeout value was set for in a given application. After quite a bit of trial and error, a 'value' created with CreateTimeSpan() can be reverted or converted to minutes by using the following calculation:
value * 24 * 60
So, to put that in perspective when using session timeouts, the following code would be applicable.