Are you actually opening index.php in your browser?
If you aren't, I believe there's no way to generate the cookie, it's the same that happens with curl, you can send a post request with or without parameters and it'll be catched and executed as it should, but if the result of that execution is a cookie, then you need to physically visit that file with your browser.
|