Cookie management using Cookie:: class.
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Sun, 21 Dec 2008 18:05:13 +0000 (19:05 +0100)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Sun, 21 Dec 2008 18:05:13 +0000 (19:05 +0100)
commitf09d3319de8a65f5eb11ce0e73a3dc08a72c4091
treee5e4910e2961237187ba8653114a513ba2a798f4
parent30f983a171d82c6a8f421036a137950af6a0395a
Cookie management using Cookie:: class.
 * Cookie::set() to set a cookie for a given number of days.
 * Cookie::kill() to kill a cookie.

Both methods change the value of the cookie both remotely (cookie stored by
the browser) and locally ($_COOKIE and Cookie::).

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
classes/env.php
classes/plglobals.php