about session timeouto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Monday
hello everyone!
In the portal of ServiceNow, after the session expires, the page will automatically redirect to the login page. Now I want to customize a page in the portal that automatically redirects to my customized page after the portal session expires, without affecting the normal login page of the portal, and without affecting the login page that redirects to the internal form session after expiration. How should it be implemented?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Monday
Hi @zx,
try to test with this property, it says after logout, but perhaps expired session is handled similarly:
property: ex.email.redirection.portal.sysId
https://yourinstance.service-now.com/nav_to.do?uri=sys_properties.do?sys_id=8857aca40a0a3c7400d779dc3a16d9ae
Let me know how does it go
/* If my response wasn’t a total disaster ↙️ ⭐ drop a Kudos or Accept as Solution ✅ ↘️ Cheers! */
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tuesday
@zx ,
You can redirect users to a custom portal page after session timeout (without affecting the internal login) by setting the system property glide.authenticate.failed_redirect to your desired URL so when the session expires they go to that page.........If you need this redirect only for the portal (and not the backend), you may also add logic in your portal’s login widget or theme (via client script) that checks for the /session_timeout.do URL and then redirects to your custom page.
Before implementing, note that redirecting may require review depending on your SSO or authentication setup, since some flows may enforce login through the default login pages.
If you found my response helpful, please mark it as ‘Accept as Solution’ and ‘Helpful’. This helps other community members find the right answer more easily and supports the community.
Kaushal Kumar Jha - ServiceNow Consultant - Lets connect on Linkedin: https://www.linkedin.com/in/kaushalkrjha/
