Reading sessiontimeout dynamically

2008-04-21 Thread Bobby Hartsfield
Does anyone know of a way (or if it's even possible) to programmatically read the sessiontimeout value of a CF app? ..:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com ~| AdobeĀ®

Re: Reading sessiontimeout dynamically

2008-04-21 Thread Barney Boisvert
You can read the request timeout from the internal Java singletons underlying CF: http://www.barneyb.com/barneyblog/2007/08/17/requestmonitorgetrequesttimeout/ I'd imagine that reading the session timeout would be similarly accomplished, though you'd need to find the session monitor, not the

RE: Reading sessiontimeout dynamically

2008-04-21 Thread Bobby Hartsfield
, April 21, 2008 2:01 PM To: CF-Talk Subject: Re: Reading sessiontimeout dynamically You can read the request timeout from the internal Java singletons underlying CF: http://www.barneyb.com/barneyblog/2007/08/17/requestmonitorgetrequesttimeout / I'd imagine that reading the session timeout would

RE: Reading sessiontimeout dynamically

2008-04-21 Thread Bobby Hartsfield
://acoderslife.com http://cf4em.com -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Monday, April 21, 2008 2:21 PM To: CF-Talk Subject: RE: Reading sessiontimeout dynamically Hey thanks Barney. Good stuff. Even if I don't find what I'm looking for in there, I'm sure I'll

Re: Reading sessiontimeout dynamically

2008-04-21 Thread Barney Boisvert
Glad that got you going. You can ask for the key list of a structure using structKeyList, and then just pull out the first key using listFirst. cheers, barneyb On Mon, Apr 21, 2008 at 12:42 PM, Bobby Hartsfield [EMAIL PROTECTED] wrote: Thanks again barney, your suggestion lead me down the

RE: Reading sessiontimeout dynamically

2008-04-21 Thread Bobby Hartsfield
Ha! Of course you can... *blush* Thanks :-) ..:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: Barney Boisvert [mailto:[EMAIL PROTECTED] Sent: Monday, April 21, 2008 4:38 PM To: CF-Talk Subject: Re: Reading sessiontimeout

RE: Reading sessiontimeout dynamically

2008-04-21 Thread Bobby Hartsfield
Here it is again without the loop just for the sake of archive searches. cfscript function getSessionTimeout(appName) { var i = 1; var sessionTiemOutValue = 'Unkown'; var tracker =