Set: cookie('key', 'value')
php
<?php
class test{
function index(){
cookie('logid', '110');
}
}Get:
php
cookie('logid'); // 110Remove:
php
cookie('logid', null);