I need to share sessions between an existing Pylons site and a new
mobile-site derivative that's a subdomain (example.com and
m.example.com). So I need to share the session cookie and session
store. In the Beaker docs it says that
session.domain = .domain.com
will make the cookie shared across subdomains. That leaves the session
store. I'm using the default file-based sessions. If I just point the
two applications to the same session directory, will they do locking
properly?
Background info. The mobile site was made in a branch of the main
site. Ultimately we want to merge the codebases so that the same
application can respond to both domains, but I'm not sure we can
finish that before deployment. I'd rather convert the application to
Pyramid first. :) Also, the reason for sharing the sessions is that we
save search results in the session, and we want to preserve the
current search when the user switches to the full site or the mobile
site.
--
Mike Orr <[email protected]>
--
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.