php - Wordpress Comet cache does not start after session_start() for frist time? -
i using code , after first entry of new user page comet cache not send cached content.
$status = session_status(); if($status == php_session_none){ session_start(); } if (isset($_session['comparison']) && is_array($_session['comparison']) && count($_session['comparison'])>0){ define('donotcachepage', true); }
Comments
Post a Comment