Cookies just prepared

    Suddenly I discovered today that cookies do not work on the local mirror of the project. Whatever you set, it always returns testCookie = 1, which is in Safari, which is in Firefox. I rummaged the project in search of an error - empty, rummaged through all the dependent libraries (all of a sudden misbehaving ;-) - empty. Updated everything that is possible - without result. From powerlessness, I decided to google ... well, of course, that I found the reason. It’s said directly in the specification that A Set-Cookie with Domain = .com or Domain = .com., Will always be rejected, because there is no embedded dot. I don’t understand one thing, as in my whole life I had not run into such a rake before? :-)

    Also popular now: