12 Jun
2012
12 Jun
'12
8:12 p.m.
2012/6/11 WK <wanradt@gmail.com>:
2012/6/11 David Precious <davidp@preshweb.co.uk>:
Holding on to a database handle between requests as you're doing by storing it in $dbh and reusing it prevents the plugin from doing its job for you.
Sounds logical, thank you!
Still i have other problem more here: i have $my_tools object, which should also have db handle. But this handle gets old too and needs to reconnect. How is best way to implement it, if i don't want to create new object on every request? -- Wbr, Kõike hääd, G