The example shows how to configure two rails applications to share the session when both apps are using same db