What Is the Scope of a FORM Variable?


What Is the Scope of a FORM Variable?

As stated earlier in this chapter, FORM variables are very similar to URL variables. That means they can be used as a short-lived method of maintaining state on a Web site.

The scope of FORM variables is the action page, and, also like URL variables, they expire after the page is processed.

TIP

You can pass URL variables at the same time you pass FORM variables. Just add them to the end of the action attribute of your form tag.


Youll review SESSION and COOKIE variables in Chapter 11, "Session State Management."




Macromedia ColdFusion MX 7 Certified Developer Study Guide
Macromedia ColdFusion MX 7 Certified Developer Study Guide
ISBN: 0321330110
EAN: 2147483647
Year: 2004
Pages: 389
Authors: Ben Forta

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net