Forum Discussion
session variable not being substituted?
As a second check to VPN access, I need to check the mac address of the machine against a database we have. I've set up an AAA HTTP server with a form-based http get that works when I specify an absolute value. the url I use is
http://server.full.name/infoserv/cgi-bin/computing/database/hardware/vpn/MacValid.asp?MacAddress=00:00:00:00:00:00
but when I change it to
http://server.full.name/infoserv/cgi-bin/computing/database/hardware/vpn/MacValid.asp?MacAddress=%{session.machine_info.net_adapter.list.[0].mac_address}
the session variable is NOT substituted but passed to our web server as "%{session.machine_info.net_adapter.list.[0].mac_address"
I've also tried %{session.client.mac_address} with the same result.
Is there some trick to getting session variables to work in the "form action" field?
thanks
- R_Eastman_13667Historic F5 Account
See this F5 article SSO Config Session Variables
- Bob_24115Nimbostratus
oh you're kidding! I can't use session variables in all fields?!
that seems unnecessarily restrictive.
- Seth_CooperEmployee
You can do this by using the Hidden Form Values for the GET request as it will append the values to the querystring and you can use the session variables.
Seth
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