• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 25. Creating and Using Cookies > Saving State: The Need for Truly Globa...

Saving State: The Need for Truly Global Variables

You've seen the benefits of global variables in many places so far in this book:

  • Within a single page, a global variable saves coding by making the variable's value available to all the statements, functions, and scripts on that page.

  • Within a frameset, global variables in the frameset page enable you to "store" values that are accessible to scripts within not only the frameset page, but also within all of the child frames, as well.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint