with some other Php code installed into a subfolder.
My problem is that the cookie count is not incremented.
On the other side, when I put that last code into the root folder, le cookie is well incremented.
Thank you in adavnce for your help.
02-05-2013, 07:16 AM
When you set the cookie the second time, shouldn't you also use the "/" designation? It may be setting it for the subfolder, which is why you don't see the increment. Just a thought, but I'd use the same fields as when you created the cookie, every time you reset it.
02-06-2013, 02:56 AM
I ran the test you suggested with the incrementing setcookie() setup with the exact same number of parameters as the creating cookie.
It works, the cookie is indeed incremented, this is the solution I was looking for..