Concept : Understanding Cookies
Page Status: Beta
Contents |
[edit] Description
A cookie is arbitrary data that can be stored by an application. A cookie consists of a name, an arbitrary value, and an expiration date. If the expiration date is set to a date/time in the future, then the cookie is “persistent” and can be retrieved until it expires. If the expiration date occurs in the past, then the cookie is a “session” cookie and does not persist beyond the current session.
You manage cookies with the following two functions (accessed through the AppGlobal class):
You can remove cookies by using setCookie to set the cookie's value to null or to set the cookie's expiration date to some time in the past.



