Using cookies to support personal channels

You probably know the basic concept of a cookie, which is that it is a personalized chunk of information stored in a user's browser that your site, and only your site, is allowed to read and alter. They are often used to keep track of a user's preferences so you can adjust your site to their personality. But remember, you should never store highly sensitive information, such as a user's credit card number, within a cookie.

For example, my.yahoo.com knows to display the results of the most recent Red Sox game whenever I visit. (And to display a Better luck next year message at the end of the season.) It does this by reading the cookie on my desktop. This cookie could either contain a) A list of my baseball team preferences, or more likely, b) A unique UserID that is used in coordination with a database on Yahoo's server to keep track of all my preferences.

Cookies through M-Business Client and M-Business Sync Server work in much the same way. The only difference is that cookies are not stored on the mobile device. They are stored on M-Business Sync Server and are associated with the user's M-Business Anywhere account. In practice, this should not affect the way you send or receive cookies, except that you cannot use the JavaScript document.cookie variable.


Setting cookies in your HTTP headers
Cookie personalization example: a Movie Review Channel
Expiring cookies differently for desktop vs. channel viewers
Putting it all together