<?php
// m.hin*.com
class Controller_Cookie extends Hnb_Base_Controller
{ public function init()
{
parent::init();
} public function indexAction()
{ setcookie('cookie_4000', json_encode($_REQUEST), time()+86400 , '/' , '.hin*.com'); } public function clsAction()
{
Hnb_Session::getInstance()->clearSession();
} } // www.hin*.com
class Controller_Cookie extends Hnb_Base_Controller
{ public function init()
{
parent::init();
} public function indexAction()
{
var_dump($_COOKIE);
print_r($_COOKIE['cookie_4000']); } }