I am developing a java web application in which I have configured session-timeout to be equal to 4 minutes.This application also uses cookies.
session-timeout
My problem i
If you set the cookie age to 4 minutes, and reset the cookie age every time your server sends a response, then the cookie will time out after 4 minutes of inactivity.