title: Session timeout on multiple tabs
body: <p>I am using Spring acegi security for single sign on on multiple applications. I need to extend session timeout at client side if user writing something on browser too. If user opended multiple sessions or browsers then i need to consider active session on all the sessions he opened. If he is active then i should not log off him eventhough he is inactive in another sessions.
  Please suggest me any ideas how to track and know at the client side too.</p>
  
  <h2>Any idea is greatly appreaciated. Thank you.</h2>
  
  <p>Running application <code>app1</code> in two tabs say <code>tab1</code> and <code>tab2</code>.Timeout is 10 minutes. So we implemented timeout functionalit in java script which is at client side. This code gives Confirm box after 10 min.  If user says continue, we are extending the session by firing the alive url. This working if application running in a single tab. Same applciation <code>app1</code> open in multiple tabs say <code>tab1</code>,<code>tab2</code>. Here applicaiton app1 opened in two tabs but single session. We are woking the application which is opened in  <code>tab2</code> and not using applciation in <code>tab1</code>. So application in tab1 is inactive for 10 min.then application in <code>tab1</code> giving confirm box and we dont answer to that confirm box tab2 will make applciation to  log out. So what is the solution for not making logout as we are working application on Tab2. Any ideas? How to track whether application in active in other tabs?</p>