Hi Ricardo, I was thinking we may be talking at cross purposes, here... You (and Taco with the sessiontracker idea) maybe meaning how long a user has left on their particular session.
I'm after whatever value has been set for the session duration/timeout. if I have <cfapplication sessiontimeout="10" I'm hoping to pick up that "10 minutes" as a simple variable on a cfm page to know how long sessions within that application lasts for... Without that, I'd have to go back and hook into the origional setting of that value. For a turnkey app, that value is created during the install process by the sysadmin and can change at a whim (and sometimes to their detriment - give them enough rope). Hooking into that at that point is do-able but it's a fair bit of a reworking for just a simple application read-only setting (that, as I said, is easily available on any page in ASP.NET). that's why I said first up that it could be a dumb question - hoping it could be easily done but I've yet to find out how or where... thanx barry.b > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Ricardo > Russon > Sent: Thursday, 9 June 2005 2:05 PM > To: CFAussie Mailing List > Subject: [cfaussie] Re: getting sessiontimeout="10" as a variable > > > Sorry Barry, > > The page i was reading was for Coldfusion Express. (didn't > even know it existed) > How ugly was that version of CF. Its almost as messed up as PHP. > > So it dosn't work any more. And as far as i can tell setting > this.sessiontimeout in Application.cfc will only affect sessions that > haven't started yet. > > > Ricardo. > > > On 6/9/05, Barry Beattie <[EMAIL PROTECTED]> wrote: > > > > thanx Ricardo > > > > >> -Let me know if i'm worng. > > > > sorree... > > > > "Element SESSIONTIMEOUT is undefined in APPLICATION" > > > > thanx anyhoo > > barry.b > > > > > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED] > Behalf Of Ricardo > > > Russon > > > Sent: Thursday, 9 June 2005 11:12 AM > > > To: CFAussie Mailing List > > > Subject: [cfaussie] Re: getting sessiontimeout="10" as a variable > > > > > > > > > Barry, > > > > > > Sorry for the typeo on your name, but it looks like > > > application.sessiontimeout will work in all other cases. > > > > > > -Let me know if i'm worng. > > > > > > Ricardo. > > > > > > On 6/9/05, Ricardo Russon <[EMAIL PROTECTED]> wrote: > > > > Barrym not sure about the Application.cfm, > > > > but in application.cfc you can use this.SESSIONTIMEOUT > > > > > > > > Ricardo. > > > > > > > > On 6/9/05, Barry Beattie <[EMAIL PROTECTED]> wrote: > > > > > > > > > > sorry to ask what could be a dumb question but we're all > > > stumped here on this. > > > > > > > > > > I'm trying to read the value of the length of the session > > > after it's been set as <cfapplication sessiontimeout="10" > > > (where manually reading the Application.cfm page won't do) > > > > > > > > > > it doesn't appear as a session or application variable (I > > > thought "session.timeout", but no) > > > > > > > > > > any ideas? it must be stored somewhere once it's been set > > > in the <cfapplication /> tag... > > > > > > > > > > thanx > > > > > barry.b > > > > > > > > > > --- > > > > > You are currently subscribed to cfaussie as: > > > [EMAIL PROTECTED] > > > > > To unsubscribe send a blank email to > > > [EMAIL PROTECTED] > > > > > Aussie Macromedia Developers: http://lists.daemon.com.au/ > > > > > > > > > > > > > --- > > > > You are currently subscribed to cfaussie as: > > > [EMAIL PROTECTED] > > > > To unsubscribe send a blank email to > > > [EMAIL PROTECTED] > > > > Aussie Macromedia Developers: http://lists.daemon.com.au/ > > > > > > > > > > --- > > > You are currently subscribed to cfaussie as: > [EMAIL PROTECTED] > > > To unsubscribe send a blank email to > > > [EMAIL PROTECTED] > > > Aussie Macromedia Developers: http://lists.daemon.com.au/ > > > > > > > --- > > You are currently subscribed to cfaussie as: > [EMAIL PROTECTED] > > To unsubscribe send a blank email to > [EMAIL PROTECTED] > > Aussie Macromedia Developers: http://lists.daemon.com.au/ > > > > --- > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > To unsubscribe send a blank email to > [EMAIL PROTECTED] > Aussie Macromedia Developers: http://lists.daemon.com.au/ > --- You are currently subscribed to cfaussie as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
