Welcome to WebmasterWorld Guest from 54.234.45.10

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)

Junior Member

5+ Year Member

joined:July 11, 2008
posts: 88
votes: 0


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)

Administrator

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

joined:July 31, 2003
posts:12548
votes: 2


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

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members