Does anyone know how to remove expired tag in PHP cookie session?
Open the cookie. Remove that section. Set the cookie.
I am running PHP on a windows server running IIS 8.5.
We do not want to have PHP set a cookie session at all. I assume that setting in the PHP.ini file. I have changed it there, but when we hit a web page, a cookie is still being created.
That has to do with the code being executed, it has nothing to do with OS or an ini file.
Cookies are not arbitrarily created just because. Someone wrote code for that process to happen.