Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

COOKIES: .example.com and example.com

domain cookie



9:46 pm on May 11, 2010 (gmt 0)

5+ Year Member

What is the difference between cookies stored for
.example.com and example.com

(NOTICE the leading dot)

Is this just a JS vs PHP difference or is there more to it?


9:49 pm on May 11, 2010 (gmt 0)

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

Browser difference. The PHP manual page for setcookie [php.net] has a link to the "spec" that will explain tail matching in detail.

Featured Threads

Hot Threads This Week

Hot Threads This Month