In the scenario where multiples sites under the same domain use a domain-based $cookie_domain, as opposed to site-based, every instance receives the DRUPAL_UID cookie, which is output for the cookie_domain.

However, if these sites have not configured session sharing, this means every site receives incorrect information, which can disturb caching optimizations.

It would be better if the name of the cookie could be customized per-site.

CommentFileSizeAuthor
#1 cacherouter_993430.patch3.1 KBfgm

Comments

fgm’s picture

Status: Active » Needs review
StatusFileSize
new3.1 KB

Suggested patch:
- allow for custom cookie name
- do not provide a UI to set it
- document its existence in README.txt

andypost’s picture

Status: Needs review » Fixed

Thanx, commited. I think this change does not affect current sites because implementation is backward compatiple

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.