Forum Discussion

Andrea_Arquint's avatar
Andrea_Arquint
Icon for Nimbostratus rankNimbostratus
Apr 10, 2013

use request variables in response

Hi

 

Here is an example which does not work for me under 11.3.

 

when HTTP_REQUEST {

 

set testVar 1

 

}

 

 

when HTTP_RESPONSE {

 

log local0. "My VAR: $testVar"

 

}

 

 

 

 

I do get an error in /var/log/ltm that $testVar could not be found.

 

 

How can I use a dynamic variable in this case without loosing CMP (with global initialization).

 

 

Is that possible somehow?

 

 

thanx

 

bb

 

No RepliesBe the first to reply