RE: [PHP-WIN] Oracle logging on and off

From: Date: Fri, 17 Nov 2000 20:36:56 +0000
Subject: RE: [PHP-WIN] Oracle logging on and off
Groups: php.windows 
Request: Send a blank email to php-windows+get-3959@lists.php.net to get a copy of this message
I also found OCIfreestatement on Thickbook.com ... would that be similar or not? The documentation is 1 step off of non-existant --------------------- Founder of The 'What Kind of Idiot Uses PHP with IIS with Oracle on NT?' Consortium Members: John Asendorf, Thomas Kryger, Florian Clever, Ron Woods, Bod John Asendorf - jasendorf@lcounty.com Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Caesar si viveret, ad remum dareris. > -----Original Message----- > From: Andy Hoffman [mailto:andy.hoffman@bms.com] > Sent: Friday, November 17, 2000 3:10 PM > To: Php-Windows (E-mail) > Subject: Re: [PHP-WIN] Oracle logging on and off > > > "Asendorf, John" wrote: > > > OCIPLogon () > > > > if ( form is set) { do some searching > > return the results > > OCIlogoff () } > > > > else {form is not set > > echo a form to fill out that returns to this page} > > > > Am I causing myself a problem by having the OCIPLogon where I do? > > John, since you keep getting problems with "rollback" errors > (even when > you're only doing selects), have you tried calling commit() > before logging > off? I know that sounds silly, when you're not making any > changes to the > data, but it's just a feeling. > > if (form is set) { > do some searching; > return the results; > > ocicommit(); > ocilogoff(); > } > > Maybe it'll help, maybe it won't... > > -- > Andy Hoffman > Web Developer > Bristol-Myers Squibb > email: andy.hoffman@bms.com > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net > For additional commands, e-mail: php-windows-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net >

« previous php.windows (#3959) next »