This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

problem with cookies in View-source page

  • Akukho zimpendulo
  • 0 inale ngxaki
more options

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

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 <?php setcookie("user", "test3", time()+3600); ?> file2.php contents <?php die("<pre>".print_r($_COOKIE, true)."</pre>"); ?> problem occurred when I open file2.php in view-source thanks

Ilungisiwe ngu NoahSUMO

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.