Pylons: Session set for all subdomains
July 14, 2009 § Leave a comment
In order to have Beaker’s session applied to all subdomains, set cookie_domain to: .yourdomain.com (notice the dot in front).
In pylons, the cookie domain is available as: beaker.session.cookie_domain.
Also, in Google Group, Cezary mentioned to set also set sub_domain in routing.py
- This howto won’t work in Firefox. As far as I know, only Safari allows me to do this.