so, if I want a day, its 1.0?

tony

-----Original Message-----
From: Dave Carabetta [mailto:[EMAIL PROTECTED]
Sent: Friday, March 26, 2004 3:27 PM
To: CF-Talk
Subject: RE: createTimeSpan() oddity

>I meant days, not hours.
>
><cfapplication name="NavtrakProjectManager" sessionmanagement="Yes"
>sessiontimeout="#CreateTimeSpan(1,0,0,0)#" setclientcookies="Yes"
>loginstorage="Session">
>
>its timing out after 1 hour, and im specifying 1 day correct?
>

What's specified in your MX Admin for the max timeout value? I believe the
default is 20 minutes or some such.

As a side note, I've become a fan of converting createTimeSpan() calls in my
cfapplication tags to the hard-coded value. It's one less function call per
page, and a simple comment above it will clear up any confusion to other
developers (because the value could be something like 0.33333).

Regards,
Dave.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to