Return to Snippet

Revision: 10311
at December 18, 2008 05:11 by joeymarchy


Initial Code
$cookie = array(
	'name'   => 'loggedin',
    'value'  => 'yes',
    'expire' => '86500',
    'domain' => '.apol0829.dev',
    'prefix' => 'apollidon_'
    );
set_cookie($cookie);


$cookie = array(
	'name'   => 'loggedin',
    'value'  => '',
    'expire' => '0',
    'domain' => '.apol0829.dev',
    'prefix' => 'apollidon_'
    );
delete_cookie($cookie);

Initial URL

                                

Initial Description

                                

Initial Title
Delete and Set Cookies with CodeIgniter

Initial Tags
php, codeigniter

Initial Language
PHP