Method: cookie::remove

Remove a cookie

Info

Syntax

cookie::remove($key, $domain='/')

Parameters

Return (mixed)

true: the cookie has been removed, false: the cookie could not be removed

Example


cookie::remove('mycookie');
// mycookie is now gone