I saw some examples cookies enabled and disabled but all of them giving disabled in first time visit.
I tried this example: https://www.w3schools.com/php/showphp.asp?filename=demo_cookie5
or
http://www.learningaboutelectronics.com/Articles/How-to-check-if-cookies-are-enabled-using-PHP.php
But see, first time always giving the message cookies are disabled!