public connectivity

  • Thread starter Thread starter Jassim Rahma
  • Start date Start date
J

Jassim Rahma

Hi,

how can i connect to mySQL server and keep the connectivity in a public
area so that I can use it fro all forms within my application...


Many Thanks,
Jassim Rahma
 
Jassim,

If you want to expose a connection, you should create a static property
and then create a new connection every time that property is called. You
want to create a new connection because your routines should close the
connection when they are finished with it, you shouldn't keep the connection
open if you are not using it.

Hope this helps.
 
Back
Top