title: gwt client session time out
body: <p>I am using gwt 2.3 with gwtp framework.In this application I wan to maintain a session time of 5 mins.This means if current user is not doing up to 5 min and he comes after five min then on his first event/action on screen a he should be be logged out.
  In gwt there is class named Timer which can be used in this issues.But I am not getting how to recognize action of user on the screen.I did google on it, &amp; found the code for gwt-ext.Below is the code of gwt-ext</p>
  
  <pre><code>Ext.get(“pagePanel”).addListener(“click”, new EventCallback() {
      @Override
      public void execute(EventObject e) {
          MessageBox.alert(“On Mouse Click”);
      }
  });
  
  Ext.get(“pagePanel”).addListener(“keydown”, new EventCallback() {
  
      @Override
      public void execute(EventObject e) { 
          MessageBox.alert(“On Key Press Click”);
      }
  });
  </code></pre>
  
  <p>In above code tag in working properly so I am attaching link from where I got this code.<a href="http://coffeewithcode.com/2011/07/08/how-to-get-an-event-of-a-page-in-gwt/" rel="nofollow">here</a></p>
  
  <p>Same type of code I am looking in gwt.If there any other better way to do this then please let me know. Thanks in advance</p>