@James Atchley
Hi, thanks for your response,
Yes I checked the header trace. When switching to tab2, with every request the same smsession cookie is being updated. That is actually a good sign because it means that the updated smsession cookie will be used by all the tabs and tab1 which is idle will not be timed out.
Surprisingly we don’t have this issue anymore. The tester who reported this issue earlier has confirmed that he is no longer seeing this issue. I am not sure what changed, I didn’t change anything from my end 😊.
My understanding is that the session is for the browser and not for the tab. So, if there is a smsession cookie and two tabs are opened, both tabs will share the smsession cookie. If I move away tab1 to tab2 and keep working in tab2, tab2 will keep updating smsession cookie (as it is doing in my case) and that updated cookie will be used by tab1 when I return to tab1, so there should not be any session expiry. That should be the expected behaviour.
That is why when this issue was reported to me first time, I found it very odd.
So far, I tested with Edge, Chrome and Firefox and they all show the same and expected behaviour, i.e. session is maintained between the tabs and not expiring.