I just want to clarify how persistent connections work then. This is my understanding: You make a persistent odbc connection, and it stays alive until either you use the exit(); function, or the script ends->unsure about this, because in the documentation, it states : "Persistent connections are SQL links that do not close when the execution of your script ends". In any case, would the following work:
In the first php script, i create a connection using odbc_pconnect...that gives me a resource...now, i somehow go to another screen, and want to use the same connection, so i create another connection using the same method. (my understanding)->but now, instead of creating a new resource and adding overhead time, php realizes that a connection for that resource already exists, and instead of creating a new one, just keeps using the old connection. Is my understanding of this correct?
Thanks in advance,
Aditya Dhekney
adityad@bsharp.com