rem: if (this_.m_sessionId == null || this_.m_sessionId == timedOutSessionId) { 
add: if (!this_.m_bNoLoginsAnymore && (this_.m_sessionId == null || this_.m_sessionId == timedOutSessionId)) { 
context:                 function() {                    if (this_.m_sessionId == null ||                        this_.m_sessionId == timedOutSessionId)                    {                        if (timedOutSessionId != null) {                            this_.m_sessionId = null;                            this_.log(                                "session timeout; prompting to reconnect." );                            var prompt =getWindowWatcher().getNewPrompter(null);                            var bundle = getWcapBundle();                            if (!prompt.confirm(                                    bundle.GetStringFromName(                                        "reconnectConfirmation.label" ),                                    bundle.formatStringFromName(                                        "reconnectConfirmation.text",                                        [this_.uri.hostPort], 1 ) )) {                                this_.m_bNoLoginsAnymore = true;                            }                        }                        if (!this_.m_bNoLoginsAnymore)                            this_.getSessionId_();                                                if (this_.m_sessionId != null) {                            this_.getSupportedTimezones(true /* refresh */);                            this_.getServerTimeDiff(true /* refresh */);                            // preread calprops for subscribed calendars:                            var cals = this_.getSubscribedCalendars({});                            for each ( cal in cals ) {                                cal.getCalProps_(true /* async */);                            }                        }                    }                } );
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/30d02961047b21c123c6585c71a085e40f3e6fa5/calWcapSession.js/buggy/calendar/providers/wcap/calWcapSession.js