Back Previous Next


Linguist servlet package - cookie

Syntax:

   cookie {name} [{elements}]

Keyword handler:

   net.eclecity.linguist.media.keyword.ServletKCookie.class

Runtime handler(s):

   net.eclecity.linguist.media.handler.ServletHCookie.class

Function:

Declares an element or an array of cookies. The array size is fixed at time of compilation. A cookie is a small text file sent to a browser and stored by the client's operating system for a certain length of time. During this time the browser will include it in requests to the host from which it originated, allowing the server to recognize the identity of the requester. It is usual to store only a smal amount of information in the cookie; typically just a unique key to allow the client details to be looked up in a database. See also create.

Example(s):

   cookie MyCookie
   cookie Cookies 10


Back Previous Next *