Welcome to WebmasterWorld Guest from 54.146.248.111

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

COOKIES: .example.com and example.com

domain cookie

     

iamvela

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?

coopster

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