?
2008-10-24 10:48:48 UTC
In the meantime, during the session, many calls are made to the same DB (but different tables).
Q: what is the most EFFICIENT way?
1- open the db at the beginning of the session and close it at the end
2- open the db with a global "link" value for the strings, and use another dbopen link for every "in-the-session" calls?
Which of these options is "the most efficient" ?
(I used o open/close EVERY call to DB).
Would open once, close once would be more efficient?
Would that not allow for security risks?