Affects Version/s: 6.2.X EE, 7.0.X EE, Master
Component/s: Frontend Infrastructure
If you disable cookies in your browser and access to any Liferay page, without sign in (in fact, you can not, because you need enable cookies for that), you'll see how every single second a POST to /c/portal/extend_session is made.
Steps to reproduce
1.- Disable cookies in your browser
2.- Access to any page in your Liferay Server
3.- Open network tab in browser console
You can see normal traffic
Every second there is a request to /c/portal/extend_session.
This is happening because we use the cookie LFR_SESSION_STATE_
to store the timestamp of the moment when the session started, and later (every second according to the interval we defined in session.js) we use that value to figure out how long the session has been active. If we can not get the value, we set default value: 0, and that provokes the recurrent calls to extend_session until you close the browser.