Pylons/pyramid — pull request #450 by landreville (2012-02-28 19:52:44+00:00)
Title: Add wildcard domain for parent domain in auth ticket cookie

Adds a boolean option to the auth ticket authentication policy called sibling_domains that will add an extra cookie that sets the wildcard on the domain above the current domain.

Eg if the current domain is x.foo.com this will set a cookie on .foo.com

If the current domain is not a subdomain it will not have any affect as wild_domain would provide the same functionality.

To note: this is in compliance with the RFC ( http://www.ietf.org/rfc/rfc2109.txt section 4.3.2 )