Hi all, I'm sure this has been asked before in the past, found some conversations online, but unfortunately I still couldn't get it to work.
I'd like to have users be able to login on xyz.com and when they go to abc.xyz.com, they are still logged in. I'm using CookieSession. In the past, I set session.cookie_domain to .xyz.com That works only in Safari because of different cookie implementation on subdomain wildcard. Looking at the source code, on Beaker 1.4, it seems that I can set domain property on Session object (via _set_domain()). I also found this conversation<http://bitbucket.org/bbangert/beaker/issue/6/domain-for-cookie-based-sessions>to make me think that. Thus, on my development.ini, I set beaker.session.domain to: .xyz.com No luck. So my questions are: 1. Is this the way I should do it? 2. If so, I must be doing something wrong. Can anyone give me example on how setting domain on CookieSession should be done? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
