Forum Discussion
Is accessing session variables from per-request subroutine possible?
Hi,
There is a weird configuration in Per request policy subroutines.
In subroutine logon page help, you can find this:
Session Variable Name or Subsession Variable Name Specifies the session (or subsession) variable name that the server uses to store the data typed in the text field. For example, the session variable username stores the username input omaas as the session variable string session.logon.last.username=omaas. Similarly, when configuring a per-request policy subroutine, the subsession variable username stores the username input omaas as the subsession variable string subsession.logon.last.username=omaas.)
It means subroutine session variables are not session.logon.last.* but subsession.logon.last.*
So even if Radius agent source is %{session.logon.last.username}, it expects %{subsession.logon.last.username}
If you want to get username from session variable and password from subroutine logon page, add a variable assign before logon page:
subsession.logon.last.username = Session Variable session.logon.last.username
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