title: Xpages partial refresh trigger full refresh
body: <p>Trigger full refresh when logged out in 8.5.3. I don't care if the data is lost, I just want to trigger full refresh if partial refresh fails in case user is logged out or session has timed out.</p>
  
  <p>I have two windows open. If I press the logout button on window 2, and then come back onto window 1 and try to do a partial refresh, it returns nothing (just blank value for that control). So how can I trigger a full refresh when the user is logged out?</p>
  
  <p>I tried onComplete, onStart and onError client side events, but cannot figure out how I could find out when this logout has happened, I tried the following code:</p>
  
  <pre><code>var strUserName = '#{javascript: @Name("[CN]", @UserName());}';
  alert("Start: " + strUserName);
  </code></pre>
  
  <p>It always returns the username rather than anonymous in window 1, even when user is logged out in window 2!</p>
  
  <p>onError event never fires when partial refresh fails or returns blank value.</p>
  
  <p>Any ideas or help would be greatly appreciated.</p>