I have a suite of databases which when the user authenticates, a managed bean remembers the customer id. This customer id is used by all XPages across the suite of databases. All XPages have the ability to switch to a different account thus the customer id changes.
When switching account the managed bean for that databases is set, but moving to another XPage in another database and that managed bean hasn't been updated! It seems managed bean session scope is database specific, but my situation (right or wrong) means I must remember this customer id across databases.
How can this customer id set in a managed bean be remembered across databases? Do I have to result to a standard profile document as a managed bean cannot work across databases?!