BOTDEFENSE::previous_request_age¶
Description¶
This iRules command returns the number of seconds that passed since
the previous request was received; this is applicable if the current
request is a follow-up to a challenge. Otherwise, “0” is returned
Warning
Deprecated in BIG-IP Next v20.0.1
Examples¶
# EXAMPLE: Log the previous request age.
when BOTDEFENSE_REQUEST {
if {[BOTDEFENSE::previous_request_age] != 0} {
set log "botdefense previous request age is"
append log " [BOTDEFENSE::previous_request_age]"
HSL::send $hsl $log
}
}