6 ms·
Interestingly, if I go to news.ycombinator.com., I get the logged out version of the site. Probably because my browser treats it as a different site entirely
by pizza 6y ago
Interestingly, if I go to news.ycombinator.com., I get the logged out version of the site. Probably because my browser treats it as a different site entirely
- jakub_g 6y agoIt's technically a different domain. HN cookie is created for a domain without dot at the end, so there's no match when you open a domain with the dot. In the same way, if a website does not do www->nowww / nowww->www redirect (example.com / www.example.com), you might have www version be logged in and nowww version be logged out or vice versa (depending how exactly it creates its cookies).