From:             [EMAIL PROTECTED]
Operating system: RH6.2
PHP version:      4.0.4pl1
PHP Bug Type:     Sybase (dblib) related
Bug description:  PConnect through firewall

When I use persistent connections to a MS Sql server that is behind a firewall, If I 
refresh the page fast enough (about 10 refreshes per second) one of the connections 
will be opened with problems. I'm using ADODB and the mssql extension. However I had 
the same problem with the raw functions of php. This is the code:

Class Data_Mensajes {

    function Load(&$objMensajesNegocio) {
                $objMensajes = &$objMensajesNegocio;

                //Nos conectamos al servidor de BD
                $con = &ADONewConnection();    
                if($con->PConnect("","Mexmatch","qf3ae$+as","MexMatch")) {
                        $query= "Select * From Mensaje Where IDUsuarioPara = 'WERA'";
                        $result = $con->Execute($query);
                        while(!$result->EOF) {
                                //$objBusiness_Mensaje[$i] = new Business_Mensaje();
                                $objBusiness_Mensaje = new Business_Mensaje();
} // Fin de Clase Data_Mensajes

Edit Bug report at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to