if(($question['type']=='Q')&&(($parent['type']=='Q')||($parent['type']=='A'))&&($status==QA_POST_STATUS_NORMAL))// only index if none of the things it depends on are hidden or queued
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_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