SYMPTOM
When an user tries to access Strategy Web 9.x the following error message is shown on the screen.
Sample Code/Error
MsiSessionManager::IsUserLoggedIn(): user session is invalid when trying to add new commands in. (com.Strategy.webapi.MSTRWebAPIException)
MsiSessionManager::GetUserSession(): session %1 is not found in session table.
MsiSessionManager::GetUserSession(): User %1`s session %2 has been closed.
In order to reach one of the above states, the user must have had two web browser windows opened with the same session. When the user logs out of one of the browsers, they will see the error in the other browser window.
ACTION
The issue can usually be resolved by one of the following actions:
To prevent this from happening, make sure users log out or do not open multiple browsers at the same time, causing the session to be cached and reused even though it may have already expired.