Hi Everyone,
I have some query about expiring session from
Servlet.
Scenario is like, in my application, we are managing session timeout through spring framework but also in some of the pages json objects are keep getting updated by calling servlet through javascript every second.
So the pages where json object is not updating, the page expires as per the time specified in configuration but the pages where the script is running to update json every second, the page is not expiring.
Can anyone help me that how can I expire the session as per the time specified in Spring configuration.