Skip to content

セッション・クッキー

ateliee edited this page Oct 27, 2015 · 1 revision

セッション・クッキー

Session Manager(class_session.php)

$SESSION = new class_session;
// settiong namespace
$SESSION->start();
$SESSION->SELECT($NAMESCAPE);

$SESSION->set($NAME,$VALUE);
$value = $SESSION->get($NAME);

Cookie Manager(class_cookie.php)

$COOKIE = new class_cookie;
$COOKIE->init($COOKIENAME,$PERIOD);
$COOKIE->set($NAME,$VALUE);
$value = $COOKIE->get($NAME);