GENWiki

Premier IT Outsourcing and Support Services within the UK

User Tools

Site Tools


joomla:read_and_write_values_from_the_cookie

Get the cookie object

$Cookie  = JFactory::getApplication()->input->cookie;
$value = $Cookie->get($name = 'myCookie', $defaultValue = null);
$cookieExists = ($value !== null);
$Cookie->set($name = 'myCookie', $value = '123', $expire = 0);
$Cookie->set('myCookie', null, time() - 1);
/data/webs/external/dokuwiki/data/pages/joomla/read_and_write_values_from_the_cookie.txt · Last modified: 2019/05/20 10:14 by genadmin

Was this page helpful?-10+1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki