4 ms·
I did not know that before. I mean of course you can differentiate between them because of the path and domain, but still this can cause problems. Do you have a
by aichbauer 7y ago
I did not know that before. I mean of course you can differentiate between them because of the path and domain, but still this can cause problems. Do you have an example of when you would like to have the same cookie for different domains or paths? Is it most likely a problem that occurs when programmers create cookies for the wrong path or domain. Or would you say there is a use case for that?
- shynrou 7y agoThe server does not receive the path and domain infos so you cant differentiate at that point. Jeah, domain wise if you have a cookie set for example.com and test.example.com, if the user is on the later it would send both cookies. This may be wanted for a common login system. In general yes it can be avoided if potential conflicting apps use different cookie names by default.