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

Chapter 10. JavaScript And Cookies > Handling Multiple Cookies

Handling Multiple Cookies

You will often want to deal with more than one cookie at a time, and Script 10.6 shows you how to read from more than one cookie and display the information. This example shares a fair amount of code with the "Using Cookies as Counters" example.

Script 10.6. Use an array to deal with multiple cookies in a single script.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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