enable_common_cache_and_cookies
enable_common_cache_and_cookies($enable=true,$refresh=true); - allow or prohibit all copies of human to use the shared cache and cookies (on some systems, you may need to restart the computer to switch the mode correctly)You can use this function to check whether DOM storage is allowed or forbidden in the browser is_enable_common_cache_and_cookies.
the input Function accepts parameters:
$enable – allow (true) or deny (false)$refresh – should the page be updated (true) or not (false) after this command
After testing, the function returns the result of its work to the script :
true – completed successfully
false – failed