Concept : Understanding Cookies

From $1

Table of contents
  1. 1. Description 
  2. 2. See Also
  3. 3. Tags

Back to Concepts and HOW TOs

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.

See Also

Using Cookies

Tags

 

 
Images (0)
 
Comments (0)
You must login to post a comment.