setcookie('qa_key',$_COOKIE['qa_key'],time()+2*QA_FORM_EXPIRY_SECS,'/',QA_COOKIE_DOMAIN);// extend on every page request
setcookie('qa_key',$_COOKIE['qa_key'],time()+2*QA_FORM_EXPIRY_SECS,'/',QA_COOKIE_DOMAIN,(bool)ini_get('session.cookie_secure'),true);// extend on every page request
setcookie('qa_noticed',1,time()+86400*3650,'/',QA_COOKIE_DOMAIN);// don't show first-time notice if a user has logged in
setcookie('qa_noticed',1,time()+86400*3650,'/',QA_COOKIE_DOMAIN,(bool)ini_get('session.cookie_secure'),true);// don't show first-time notice if a user has logged in