In my application, I noticed that the PHPSESSID cookie is always sent, although the user role is "ANONYMOUS" or is not assigned a token. I searched the Internet without satisfactory results. Is there a way to prevent this cookie from being sent if users are not logged in?
source
share