I set a cookie for one months, but close the browser
When you reopen the page, look at the header
The cookie is not sent over, why is it?
Reply to discussion (solution)
You didn't check to see if the cookie was in effect.
You didn't check to see if the cookie was in effect.
What does a cookie mean, and how is it checked?
If I save a cookie for this website locally, do I automatically submit a cookie when I reopen it?
When you reopen the site, only the cookie with the expiration date will be submitted
So you can see the cookie file named after the site URL in your machine.
I can't find the location of the chrome cookie, and I suspect that the chrome save cookie is not named after the URL.
But from the first picture, you should be able to determine
I have set a cookie on the 127.0.0.10 website and have a expiration date?
In addition, other browsers are the same, but the response header indicates that a cookie has been set
Then you have to check with PHP is:
Print_r ($_cookie);
Okay, I was wrong.
is a problem with the program, on the other pages, and deleted the cookie