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

Chapter 16. Using WDDX > Other Places to Store WDDX Packets

Other Places to Store WDDX Packets

So far, the examples in this chapter use text files as a place to store WDDX packets. But the great thing about WDDX packets (okay, one of the great things) is that they can be stored anywhere ordinary text can be stored.

Storing Packets as Client Variables

One useful place to store WDDX packets is in ColdFusion's built-in CLIENT scope.. As you probably already know, once you store a value in the CLIENT scope, that value will remain associated with the client (basically, the browser machine). Client variables are nifty because they are stored on the server side (by default), yet they follow each of your users around as they use your pages over time. In many respects, client variables are superior to session variables, because they survive between server restarts and can be shared by multiple servers in a cluster.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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