I had the same problem some time ago: The session should expire after a couple of minutes of inactivity. But the poll counts as activity, so I can't measure the "real" user activity.
I solved it manually with a self made timer in my bean and which is resetted by clicking a button and so on and NOT by polling.
Thanks for your answer fmarwede,
But this solution doesn't solve my problem.
There are other applications that are running at the same time and managed by the same cookie.
I want more than logging out my user from my application. I want not to be interfering with the reserve proxy's session management by hiding my "Http polling".
any additionnal suggestion?
Thanks by advance.