In my case, sessions are not shared in my two apps main and sub domain
session.connect(request, response,masterapp='test', db=db)
response.cookies[response.session_id_name]['domain'] = '.test.com'
routers = dict(
BASE=dict(
default_controller='default',
default_function='index',
In the model files of my applications I have these lines of code
because I want to share the session, so menus etc. reflect the
correct state and users need not login twice
# share the session cookie among all subdomains under the main domain
response.cookies[response.session_id_name]['domain']
2 matches
Mail list logo