homepage Welcome to WebmasterWorld Guest from 54.234.126.92
register, login, search, subscribe, help, library, PubCon, announcements, recent posts, open posts,
Accredited PayPal World Seller

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library : Charter : Moderators: coopster & eelixduppy & jatar k

PHP Server Side Scripting Forum

    
COOKIES: .example.com and example.com
domain cookie
iamvela




msg:4131084
 9:46 pm on May 11, 2010 (gmt 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?

 

coopster




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

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
WebmasterWorld ® and PubCon ® are a Registered Trademarks of Pubcon Inc.
© Pubcon Inc. 1996-2012 all rights reserved