[web2py] Re: session.connect() on 127.0.0.1 or on domain.

2014-07-01 Thread Annet
Hi Anthony, Thanks for your reply. I added response.cookies[response.session_id_name]['domain'] = '.leonexus.com' > to both apps and now the menus display the correct items. Best Annet. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web

[web2py] Re: session.connect() on 127.0.0.1 or on domain.

2014-07-01 Thread Anthony
By default the session cookie will not be shared across subdomains. Try adding something like the following in a model file in both apps: response.cookies[response.session_id_name]['domain'] = '.leonexus.com' Anthony On Tuesday, July 1, 2014 4:07:17 AM UTC-4, Annet wrote: > > I have a front-end