tried that too thing is how do you set the var up in the first place?
you cant use CFPARAM cause without an application scope, you cant param them. you cant set them before the application tag and then output them cause then they never change from what they are set to you cant check to see if they exist before they are set because they will never be unless you use cfparam, and if you do they will always be set and still nmot become dynamic. trust me, i worked on this for a week and this is the only way i could do it. My app allows dynamic session and application timeouts per application instance. to do this, you have to load the vars into the tag. then i have a sessin counter so the user knows how much time is left in the session before they are logged out. this value is then actually loaded into my application scope so that i can use it elsewhere Steve -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Vaughan Allan Sent: Thursday, June 09, 2005 4:21 PM To: CFAussie Mailing List Subject: [cfaussie] Fw: Re: getting sessiontimeout="10" as a variable Wait... "there is no application scope without an application tag" I hear you say.... (I haven't tried this, but bear with me....) You can actually have two cfapplication tags on the one page. Have a simple cfapplication with only the application name at the top... then check if xml config is loaded, and do so if not, and THEN the application tag with the relevant config settings... I'm pretty sure you can do this, because (in order to run legacy apps and hide them from the main app), we use a custom tag to switch apps mid-page and interact with the "other" app. It can get a bit messy, but saved a lot of code rewrites (for a while at least). Vaughan. ----- Forwarded by Vaughan Allan/Morgans/AU on 09/06/2005 04:06 PM ----- Vaughan Allan/Morgans/AU wrote on 09/06/2005 04:15:34 PM: > > bit worried about the overhead of reading the config.xml everytime > > the Application.cfm is run, though... > > So code it to store the xml object in app scope, and only do so if > it's not already defined - typical "read-once" app config... > > Vaughan. To unsubscribe from this email please forward this email to [EMAIL PROTECTED] This email message is confidential and may be privileged. Unauthorised use, copying or distribution of any part of this email including attachments is prohibited. If you are not the intended recipient please forward the email to [EMAIL PROTECTED] and delete the original. ABN AMRO Morgans Limited and its associates hold or may hold securities in the companies/trusts mentioned herein. Any general advice included in this email has been prepared without taking into account your objectives, financial situation or needs. Before acting on the advice, you should consider its appropriateness or discuss with one of our investment advisors. To the extent permitted by law we exclude (and where the law does not permit an exclusion, limit to the extent permitted by law) all liability for any direct, indirect and consequential costs, losses, damages and expenses incurred in any way (including but not limited to that arising from negligence), connected with any use or access to this email or any reliance on information contained in this email or any attachments. ABN AMRO Morgans Limited (ABN 49 010 669 726 AFSL 235410) A Participant of ASX Group A Principal Member of the Financial Planning Association --- 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/
