Home » Questions » Computers [ Ask a new question ]

wget and cookies.txt — domain.tld vs. .domain.tld

wget and cookies.txt — domain.tld vs. .domain.tld

I'm baking a cookies.txt file for use with some wget scripts and can't find a lot of detailed information. Currently, I'm trying to determine the difference between "domain.tld"-style cookies and ".domain.tld"-style cookies (with and without leading dot).

Asked by: Guest | Views: 225
Total answers/comments: 1
Guest [Entry]

"If it is set as "".superuser.com"", then ""foo.superuser.com"" will get the cookie, but if it is set as ""superuser.com"" then ""foo.superuser.com"" does not get it.

You can read all the gory details of this in RFC 2109"