Forum Discussion
fredlubrano
Nov 14, 2023Cirrus
Custom APM Logon page Access policy evaluation is already in progress for your current session
Hello, I am trying to solve a problem as I am blocked by the following message, When I click on the link '<p>Please register <a href='/register.php'>here</a> if you don't have an account yet.</p>'...
- Nov 19, 2023
Hello, I think I need to take a vacation 🙂 It's just a small irule and a landing URI issue. Fred.
when HTTP_REQUEST { # Log de début log local0. "Début de traitement de la requête : [HTTP::uri] avec le referer : [HTTP::header "Referer"]" # Vérifiez si l'URI et le referer correspondent à vos critères if { [HTTP::uri] equals "/register.php" and [HTTP::header "Referer"] equals "https://ilove.mama.net/my.policy" } { # Vérifiez la valeur de la variable de session F5 APM set policyResult [ACCESS::session data get "session.policy.result"] log local0. "session.policy.result = $policyResult" # Si la variable de session n'est pas 'allow', supprimez les cookies if {$policyResult ne "allow"} { log local0. "La condition de session APM est remplie. Suppression des cookies." # Supprimez les cookies MRHSession et LastMRH_Session HTTP::cookie remove "MRHSession" HTTP::cookie remove "LastMRH_Session" } else { log local0. "La condition de session APM n'est pas remplie. Les cookies ne sont pas supprimés." } } # Log de fin log local0. "Fin de traitement de la requête : [HTTP::uri]" }
Lucas_Thompson
Nov 15, 2023Employee
That error happens in this situation:
- A user visits an APM-protected URL
- APM creates a session and sent the session cookie in a 302 redirect to "/my.policy"
The session is now in "pending" state and is waiting for POSTs to /my.policy to continue moving through the policy - The user's browser SHOULD send a GET to /my.policy with the session cookie, but instead it sends the APM session cookie in a GET, but not to "/my.policy"
- APM responds with this error
To work around this problem, let the browser follow the my.policy redirect and complete the access policy *before* visiting any other URLs.
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