Forum Discussion
Antoine_80417
Nimbostratus
Feb 12, 2015APM Session ID not displayed in error page
Hello folks, I ran into an issue today that you may have already encountered : I am using APM to authenticate users on a web application, and an error page is returned to the user (whatever the r...
Adam_Ingle_1300
Cirrus
Sep 12, 2017Replaced the code in Access Policy> Ending Pages> Deny> logout.inc
Brad Parker may correct me, but this seems to be working for me:
var display_session = "%{session.user.sessionid}";
if(null != display_session) {
document.getElementById("sessionDIV").innerHTML = '
%[session_id_caption] ' + display_session + '
';
document.getElementById("sessionDIV").style.visibility = "visible";
}%{session.user.sessionid} pulls the variable for the session ID off the APM directly when the user started the session, rather than from javascript on the local browser as the original script was configured. Might not work in all conditions, but for simple cases it appears to be working.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
