Hi Carlo,
I am aware of this problem. To my dispair I could not find what is
causing for it.
I have already captured both errors 2006 and 2013 at the lowest level
possible in PHP code (in phplib/db_mysql.inc) where when such error
code is detected a new connection to mysql server is
Hey all,I'm wondering if there is a way to use global variables? I see that
$var variables are persistent across the process, but I need something that
will persist across all processes. Right now, I'm using memcache, but I'm
not sure if I'll have race conditions relying on that as I expect many
Brett,
The $var variables are persistent per transaction. For the entire
dialog, use dialog variables:
http://www.opensips.org/html/docs/modules/1.5.x/dialog.html
The key functions here are store_dlg_value() and fetch_dlg_value(), or
set_dlg_flag() and is_dlg_flag_set().
Now if
2009/10/4 Brett Nemeroff br...@nemeroff.com:
I'm wondering if there is a way to use global variables?
$shv(...) does that:
http://www.opensips.org/html/docs/modules/1.5.x/cfgutils.html#id271355
but I'm not sure if I'll have race conditions relying on that as I expect
many processes
to be