Hugh,
In answer to another person's question, you
mentioned doing SQL accesses from within a PostAuthHook. Can I use the database
handle that my AuthBy clause already has open, or do I have to manage my own
handle? Either way, can you give me a line or two of code that shows an example
of how I would do it (it doesn't have to be a useful example...just give me a
->prepare(), and a connect() if I have to manage my own).
If I can use AuthBy's handle, then what happens if
I try to do that in a PreClientHook, or a PreAuthHook, or any other time when
the handle has not been connected yet? Is there a way I can call the AuthBy and
make it connect? Like an autoconnect? If I do have to manage my own handle,
can I at least make it persistent?
Thanks...
Mike
|
- Re: (RADIATOR) SQL access from within a hook Mike Nerone
- Re: (RADIATOR) SQL access from within a hook Hugh Irvine
- Re: (RADIATOR) SQL access from within a hook Hugh Irvine
- Re: (RADIATOR) SQL access from within a hook Mike McCauley