title: Difference between Session Expired and ViewExpiredException
body: <p>I've come across many solutions for the two 'huge' problems</p>
  
  <ul>
  <li>Session Expired</li>
  <li>ViewExpiredException</li>
  </ul>
  
  <p><strong>My Question:</strong> What is the difference between them?</p>
  
  <p>I'm using WAS and I observed</p>
  
  <ul>
  <li>Restarting the EAR in the console does not cause the session to expire</li>
  <li>If there is a current ajax request and the EAR is restarted it throws ViewExpiredException but does not logout the user</li>
  <li>If the page is idle for, say 30 min, the login screen appears (I've used a sessiontimeoutfilter to handle this)</li>
  </ul>
  
  <p>So isnt ViewExpiredException same as Session Expiry?
  Also why doesnt restarting the EAR cause the session to expire?</p>
  
  <p>Any help would be appreciated.</p>