Hi,
there are 2 preferred solution :
- use an irule in ACCESS_SESSION_STARTED event instead of ACCESS_POLICY_AGENT_EVENT.
ACCESS_SESSION_STARTED is executed at the beginning of the session.
Here is an example of how to filter on landinguri in this event. - configure a variable assign in VPE.
Here are examples of how to write variable assign expressions.
but the code you posted may not cause incomplete page.
you can try this variable assign:
session.custom.control_hash
expr {[mcget {session.server.landinguri}] starts_with "/HABCD/"}