Created by emiliodeg, last update on 07/07/2008 15:15
Cookie Class
very easy to use
set cookie: Cookie::set('car','abc 123');
get cookie: Cookie::get('car'); //return 'abc 123'
del cookie: Cookie::del('car'); //delete cookie car
del all cookies: Cookie::delAll();
isset cookie??: Cookie::exists('car'); //return bool value
empty cookie??: Cookie::isEmpty('car'); //return bool value
class Cookie{
publicstatic function set($cookieName,$value='',$time=3600,$path=null,$domain=null,$httpOnly =false){
Usually when a debug session execute really slowly it's related to the fact that the IDE is displaying several notice or strict messages. You can switch this behavior off to speed up the debug session in the preference dialog.