▲ | foldr 4 days ago | ||||||||||||||||
Isn't that just the feature working as intended? Of course it is possible to introduce a bug by setting or not setting a cookie somewhere where it should/shouldn't be set. I've never found a use for path-based cookies personally, but I'm not sure this is a particularly compelling example. | |||||||||||||||||
▲ | speleding 4 days ago | parent [-] | ||||||||||||||||
The typical example of a path-based cookie is the "remember my login name" feature, where you want the cookie with the user name only available on the login page. (And you cannot use session storage because you want it to work whilst logged out.) | |||||||||||||||||
|