Manage Memory Variables

Application and session (memory) variables are enabled at installation. They override any individual use of the cfapplication tag to enabled application or session variables. If you disable these variables using the Memory Variables page, they cannot be used in any ColdFusion application.

 

When you enable memory variables, you can set default and maximum timeout values to control the life span of each type of variable. Session scope variables mean that information is available for the life of a session until the session timeout has been reached with no browser activity. Application scope variables mean that information is available for the life of all sessions for an application until the application timeout is reached with no session activity.

 

To set timeout values:

  1. Click Server>Memory Variables in the ColdFusion Administrator navigation frame to see the Memory Variables page.

  2. On the Memory Variables page, enter a number in each text box to specify days, hours, minutes and seconds allowed for maximum and default timeout periods. The default value for application variables is two days; the default value for session variables is 20 minutes.

 

  1. Click Submit Changes save your settings.

Related topics