Cookie module for Drupal
========================

Description:
------------
        
The Cookie module provide simple cookie functions without session features.
This module is a module for developers and themers.


Installation:
-------------

Please read the INSTALL.txt.


Usage:
------

Please also read the information includet in the file "cookie.module".

Examples:

- Get an cookie
drupal_cookie('CookieName');
drupal_cookie('CookieName', 'get');

- Set an cookie
drupal_cookie('CookieName', 'set', 'foobar');

- Set an cookie with path
drupal_cookie('CookieName', 'set', 'foobar', '/');

- Delete an Cookie
drupal_cookie('CookieName', 'delete');

Note: Have you set a cookie with a path he must with the same path will be deleted.


Time reference helper:
----------------------

Here's a small reference on numbers and the amount of time they signify in determining the expiration date/time of a cookie.

One Minute: 60
Ten Minutes: 600
Half-an-Hour: 1800
One Hour: 3600
One Day: 86400
One Week: 604800
Two Weeks: 1209600
One Month (30 days): 2592000
One Year (365 days): 31536000


Authors
-------
Siegfried Neumann (quiptime@gmail.com)
