problem with cookies in View-source page
problem with View-source Hi I use xampp for php projects I recently encountered a problem with view-source page when i set a cookie in a simple php file and run it in firefox browser the cookie was saved but when right click on page and open view-source page the cookie not shown and seems not saved I don't have this problem in other browsers for example chrome or edge and firefox on other pc this problem is only occured in localhost and in real websites is ok. I refresh firefox, reinstall firefox, reinstall xampp but problem not solved. please help me. i don't want to use other browsers and like firefox forever.
file1.php contents
file2.php contents die("
".print_r($_COOKIE, true)."");
?>
problem occurred when I open file2.php in view-source
thanks
NoahSUMO کی جانب سے