On May 16, 2009, at 6:02 AM, Tomasz Narloch wrote:
I have a problem with cookies on pylons.I go to ex. http://mydomain.com where I create my cookie. When I go to http://www.mydomain.com my cookie is not visible.I know that is option for cookie on subdomains but this is not the same.What should I change?
By default, the cookie is set for the exact domain you're at. Not for the "top-level" domain, which is very different for various countries. You'll want to manually tell it to use the parent domain with the cookie_domain option in the ini file:
http://beaker.groovie.org/configuration.html#session-options I.e: beaker.session.cookie_domain = .mydomain.com Cheers, Ben
smime.p7s
Description: S/MIME cryptographic signature
