I have in my application polling HTTP requests that executed each 5 minutes.
I want to configure those URLs not to change the session expiration.
Otherwise my session will never expired (and I do not want it).
Was not able to find it in the web.xml and HttpSession documentation.
How is possible to do it?
Added
Very important clarification: the request should be authenticated.
It means that the request should be attached to JsessionID that is already authenticated.
Clarification (Added 2)
I do not want the session will expire regardless of whether the user stays active or not. I want the session will expire on the user inactivity and will not be expire if user working on UI. I want the session will expire on the user inactivity in spite of polling requests that come each 5 minutes
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…