getSession properties returning null
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2022 04:38 AM
the following code of SPEntryPage script include is not working:
"var nt = session.getProperty("nav_to"); // I tried navpage too but didn't work
var redirectURL = session.getProperty("login_redirect");"
nt and redirectURL is returning null. This is the reason why my SPEny page is not working.
Any idea why and how I can correct it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2022 06:38 AM
Can you check var session = gs.getSession(); is present or not in script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2024 07:59 AM
Did you ever find a solution to this? We're facing the same issue where all the session properties around redirect and nav_to are null when logging into a Service Portal page that should be redirected.