client.js
function () {
        if (RemoteObjectTemplate.getPendingCallCount() == 0 && this.getCookie('session' + this.app) != this.session) {

            if (this.state != 'zombie') {
                this.state = 'zombie';
                this.expireController();

                RemoteObjectTemplate.enableSendMessage(false);  // Queue stuff as a zombie we will toss it later
                console.log('Another browser took over, entering zombie state');
            }
        }
    }
function () {
        if (RemoteObjectTemplate.getPendingCallCount() == 0 && this.getCookie('session' + this.app) != this.session) {

            if (this.state != 'zombie') {
                this.state = 'zombie';
                this.expireController();

                RemoteObjectTemplate.enableSendMessage(false);  // Queue stuff as a zombie we will toss it later
                console.log('Another browser took over, entering zombie state');
            }
        }
    }
function ( ) { if ( RemoteObjectTemplate . getPendingCallCount ( ) == 0 && this . getCookie ( 'session' + this . app ) != this . session ) { if ( this . state != 'zombie' ) { this . state = 'zombie' ; this . expireController ( ) ; RemoteObjectTemplate . enableSendMessage ( false ) ; // Queue stuff as a zombie we will toss it later console . log ( 'Another browser took over, entering zombie state' ) ; } } }
Anytime we see some other windows session has been stored we become a zombie
Anytime we see some other windows session has been stored we become a zombie