=================================================================== "Well the setting in the CF Administrator will always take precedence over whatever is set in the Application.cfm file. So it is a good idea to check with your host what they have set." ===================================================================
This is actually incorrect. What ever is set in the administrator are only defaults. The way the session and application variables work is that the CF server will take the lesser of the values between what is in the application.cfm file and whats set in the server. If the server is set for a session timeout of 20 minutes, and you set yours in your application.cfm file to 30 minutes, your session timeout will be 20 minutes. If your server is set for 4 hours, and you set yours in your application.cfm file to 30 minutes, your sessions will time out at 30 minutes. This is the same for applications. You dont have to set a timeout value in the <cfapplication> tag as it will default to what ever is set on the server Steve -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Peter Tilbrook Sent: Thursday, April 08, 2004 4:26 PM To: CFAussie Mailing List Subject: [cfaussie] Re: Is this any way to end sessions? Well the setting in the CF Administrator will always take precedence over whatever is set in the Application.cfm file. So it is a good idea to check with your host what they have set. For CFMX 6.1 "maximum" session (by default) is two days. A long time for a session. And the same applies for Application which seems reasonable unless your application is very popular and hence adjustments might be in order. Default settings are 2 days for application level vars and 20 minutes for session level vars. I believe that the server settings for session vars can be overwritten with the CFAPPLICATION tag? Otherwise 20 minutes might seem a bit on the lenient side. Assuming a "safe" timeout of 20 minutes is not a bad idea. There are ways to extend the session limit merely by performing some sort of client/server exchange (eg a CFLOCATION event) to keep the session alive. Welcome to the world of web application development where every situation will more than likely be different. Peter Tilbrook ColdFusion Applications Developer ColdGen Internet Solutions Manager, ACT and Region ColdFusion Users Group - http://www.actcfug.com 4/73 Tharwa Road Queanbeyan, NSW, 2620 AUSTRALIA -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brett Payne-Rhodes Sent: Thursday, 8 April 2004 3:41 PM To: CFAussie Mailing List Subject: [cfaussie] Re: Is this any way to end sessions? I don't think resetting the timeout is going to have any impact because, assuming there is a cfapplication tag in the application.cfm file, the timeout will get reset as soon as the next visitor comes along. Won't it? Brett B) --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004 --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004
