ltm rule command ADAPT context delete allΒΆ

iRule(1)		      BIG-IP TMSH Manual		      iRule(1)



ADAPT::context_delete_all
       Deletes all dynamic contexts.

SYNOPSIS
       ADAPT::context_delete_all

DESCRIPTION
       Deletes all dynamic contexts on both sides of the virtual server,
       making the static context the current context. This is done
       automatically when the last of a connection flow and its peer is torn
       down, so normally need not be called.

       Syntax:

       ADAPT::context_delete_all

RETURN VALUE
VALID DURING
       HTTP_REQUEST, HTTP_RESPONSE, HTTP_PROXY_REQUEST

EXAMPLES
	# Conditionally revert to static contexts after request processed
	# (contrived example, probably not useful).
	when HTTP_PROXY_REQUEST {
	    if {$revert_to_profile} {
		ADAPT::context_delete_all
	    }
	}

HINTS
SEE ALSO
CHANGE LOG
       @BIGIP-12.0.0 --First introduced the command.



BIG-IP				  2017-01-31			      iRule(1)