The primary differences between variable types are where they exist, how long they exist, and where their values are stored. These considerations are referred to as a variable's scope.
The table below describes the ColdFusion Express variables by their scope.
| Variable Type | Scope |
|---|---|
| Local | The page on which it is created. |
| Query | The page on which it is created. |
| Form | The action page that's associated with a form. |
| URL | The target page for the hyperlink. |
| Cookie | All browser sessions. |
| CGI | All sessions. |
| Application | The specific application for which it is created. |
You will learn more about scope on an as needed basis throughout this book.