Closed (fixed)
Project:
Drupal core
Version:
6.x-dev
Component:
user system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 May 2007 at 05:18 UTC
Updated:
3 Jan 2011 at 16:56 UTC
Jump to comment: Most recent file
Comments
Comment #1
johnalbinRe-rolled for default.settings.php. Again, only the spacing is changed; no comment or code changes.
Comment #2
forngren commentedNice one.
Comment #3
dries commentedCommitted to CVS HEAD. Thanks John.
Comment #4
(not verified) commentedComment #5
MiMe commentedIt should actually be '.example.com'
The documentation in the settings.php has an example of the cookie domain set to:
# $cookie_domain = 'example.com';But the cookie domain must be replaced with .example.com since the . is Always added in the bootstrap.
So the correct documentation for cookie domain should be:
# $cookie_domain = '.example.com';Comment #6
mooffie commented@MiMe is right, I believe.
Do we need to put a dot in front? If so, we should fix that comment.
The php docs says "RFC 2109 requires it to be included". And our own code is:
and it seem "example.com" won't pass this.
Comment #7
jhodgdonThis is a totally separate issue than the original, and is not a documentation issue. Please file as a separate issue.
Comment #8
jhodgdonActually, I'll go ahead and file it, and close this one back up:
#1013560: Cookie domain suggestion in settings.php is wrong (maybe)