[SR-Users] var vs avp...
Olle E. Johansson
oej at edvina.net
Fri Apr 19 10:56:26 CEST 2013
19 apr 2013 kl. 10:43 skrev "Victor V. Kustov" <coyote at bks.tv>:
> Hi!
>
> whats difference $var() and $avp()?
There's a whole set of differences.
- $var is stored in process memory.
- $avp is stored in transactions (in shared memory), so if you set them while processing a request you have them when processing responses and failures.
- avp's are stacks, so you can store a set of data in them, not just one value.
You can find out more details in the core cookbok on the web site.
/O
More information about the sr-users
mailing list