How to set random cookie value using rand function in PHP
I don\'t want to change the value while page refreshed when it once assigned.. until cookie destroy
My
Your set cookie code is incorrect and the cookie time is only 1 second
change your code as follows...
"; } exit(); ?>