If you have been unexpectedly logged out and redirected to the login page, this is the system’s automatic error recovery in action. This article explains what happened and what you need to do.
What Happened?
When you use any NSEMM application (HR Portal, Staff App, Learn, Admin, etc.), your browser maintains a login session with our servers. Sometimes that session can break. Common reasons include:
- Server restart — When we deploy updates or perform maintenance, active sessions may be briefly interrupted.
- Expired session cookie — Sessions have a limited lifetime for security. If you leave a tab open for a long time without activity, your session may expire.
- Network issues — A temporary loss of internet connectivity can prevent your browser from reaching the authentication server.
- Browser storage cleared — If you manually clear cookies or browsing data, your session credentials are removed.
How the System Handles It
When an authentication error is detected (such as a server error, network failure, or expired session), the system follows a careful recovery process:
- Automatic retry — The system waits one second and then tries the request again. This handles brief network glitches and short server restarts without any disruption to you.
- If the retry fails — The system concludes that your session cannot be recovered. It automatically clears all stored session data, including cookies, localStorage, and sessionStorage.
- Redirect to login — You are redirected to the NSEMM authentication portal login page. The address of the page you were on is saved in the URL as a return parameter.
- Seamless return — After you log back in, you are automatically taken back to the exact page you were using before the error occurred.
This automatic cleanup prevents you from getting stuck in a broken state where stale or corrupted session data stops the application from working properly.
What You Need to Do
Just log back in. That is all. Enter your email address and use your password or magic link as usual. You will be returned to the page you were on.
Your data is safe. Any work that was previously saved to the server (submitted forms, uploaded documents, sent messages) is not affected by a session error. The only thing that is lost is unsaved work in progress, such as text you were typing into a form but had not yet submitted.
If It Keeps Happening
If you find yourself being logged out repeatedly in a short period, try the following:
- Check your internet connection — Make sure you have a stable connection. Try loading another website to confirm.
- Try a different browser — This can rule out browser-specific issues. See our Supported Browsers and Devices article.
- Clear your browser cache — Sometimes old cached files can cause conflicts after an update.
- Contact support — If the problem persists, raise a support ticket so we can investigate. Include the approximate time and which application you were using.