We are displaying some thumbnails on a page. For each thumbnail image, we are calling a route to get image and other details that are displayed on page. It was working fine until recently that session is being destroyed during loading of images. This happens randomly as page loads fine sometime and breaks in some cases.
We have a timeout variable in session that we compare with timeout threshold and as session is destroyed, it throws login page.
is in place in some locations but they are not triggered. No error in console trace, no error in apache logs. Also changed keepAlive, MaxKeepAliveRequests and KeepAliveTimeout in apache config to allow max numbers possible but same issue.