Forum Discussion
Session Variable names with special characters
Hi
I am trying to access a session variable in the Policy Editor and display it in a message box but that variable name has special characters and it keeps showing the variable name instead of the value
I am using the following which displays normally: session.user.sessionid = %{session.user.sessionid} session.saml.last.identity = %{session.saml.last.identity}
The one that has a problem is: dataofbirth = %{session.saml.last.attr.name.http://schemas.xmlsoap.org/ws/2005/05/identity/claims/dateofbirth}
I tried to escape the dots in schemas.xmlsoap.org using \ but it doesn't work
I also tried to escape the slashes and the colon and it doesn't work http:\/\/schemas.xmlsoap.org\/ws\/2005\/05\/identity\/claims\/dateofbirth
Any ideas?
Or maybe guidance on how to access saml session variables that hold the attributes values in general would be appreciated.
Thanks a lot.
- dromerotNimbostratus
Hi Gihad,
I have the same issue in 14.1.2 version. Do you know how to write the session variable?
The variable %{session.saml.last.attr.name.http://schemas.xmlsoap.org/ws/2005/05/identity/claims} doesn't work.
I've printed the variable with a logging box and it's empty. However, the variable %{session.saml.last.identity} works.
Thanks, best regards.
Recent Discussions
Related Content
* 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