Dec 26, 2019 02:33 AM|Brando ZWZ|LINK
As far as I know, the IIS will not changed the thread id when hosting. I guess you may enabled web farm in your IIS. To solve this issue, you should use the sql server session provider or redis provider instead of the InProc.
The inproc will store the session into the memory.
More details about how to use the sql server session provider or redis provider, you could refer to below article: