As with client variables, you must enable session variables using an Application.cfc file before you can use them in your code. Table 20.4 lists the additional attributes relevant to session variables. In general, all you need to do is specify a name and then set sessionManagement="Yes".
|name||A name for your application.|
|sessionManagement||Yes or No. Set to Yes to enable the use of session variables. If you attempt to use session variables in your code without setting this attribute to Yes, an error message will be displayed when the code is executed.|
|sessionTimeout||Optional. How long you want your session variables to live in the server’s ...|