Toggle navigation
Dashboard
Dashboard Tracker
Add / Edit My Forums
System Announcements
Discussion
Active Thread Feed
Top Threads Today
Top Threads This Week
Top Threads Library
Go!
View All
View All
Login
Logout
Home
Forums Index
Server Side
/
PHP Server Side Scripting
10:39 pm Aug 9, 2026
This page requires javascript.
Forum Moderators:
coopster
Message Too Old, No Replies
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.
Join The Conversation
Register
For Free! -
Become a
Pro Member
!
See forum categories
-
Enter the Forum
Moderators and Top Contributors
Moderator List
| Top Contributors:
This Week
,
This Month
,
Jul
,
Jun
,
Archive
,
Top 100 All Time
,
Top Voted Members
Hot Threads This Week
August 2026 Google Search Observations
AdSense Earnings and Observations - August 2026
Booking Feels Google AI Effects - Plans SEO decline
July 2026 Google Search Observations
EU AI Transparency Rules Now in Effect
How has AI changed your work?
Do you still build external links in 2026?
Home
Forums Index
Server Side
/
PHP Server Side Scripting
10:39 pm Aug 9, 2026