Donncha, thanks very much for the help! Unfortunately I can’t seem to get this to work. I tried creating a custom function in wp-cache-phase1.php with the ‘wp_cache_get_cookies_values’ but I think I am using it incorrectly:
function get_the_src() {
$cook = $_COOKIE[‘cookiename’];
$str = do_cacheaction( ‘wp_cache_get_cookies_values’, $cook );
return $str;
}
I’m having the same problem, where it is retrieving the cookie value that is stored in the cache — not the updated cookie values.
It does not seem like there is any way to assign the cookie to a PHP variable before the Supercache plugin loads. It is very frustrating, as a lot of my PHP is rendered useless without being able to read the cookies properly for each user.
I am not a very experienced with WP, so I apologize if this is not what you were suggesting. Any further assistance would be greatly appreciated.
-
This reply was modified 7 years, 4 months ago by froppitmf.