ColdFusion - When to use the “request” scope?
Been going over my predecessor's code and see usage of the "request" scope frequently. What is the appropriate usage of this scope? Adam Tuttle There are several scopes that are available to any portion of your code: Session, Client, Cookie, Application, and Request. Some are inadvisable to use in certain ways (i.e. using Request or Application scope inside your Custom Tags or CFC's; this is coupling , violates encapsulation principles, and is considered a bad practice), and some have special purposes: Cookie is persisted on the client machine as physical cookies, and Session scoped variables