Session scope not pertained

Do you mean this.name="app" on host1 and this.name="app" on host2, or application.dev=1 across different application names?

without seeing what your code, I can’t answer those questions, but it definitely solves one of the single mode issues, variables.config ain’t enough info