|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-12-11 17:15 UTC] christopher dot jones at oracle dot com
[2007-12-11 17:18 UTC] tony at daylessday dot org
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 09:00:02 2025 UTC |
Description: ------------ PHP - 5.2.3 Oracle HTTP Server 10.1.2 (as a part of the Oracle Forms and Reports 10.1.2 standalone) HTTPS configured with Thawte Premium Server Cert using Oracle Wallet ZendCore 2.0 oci (version according to ZendCore) 10.1-1. When using oci_pconnect, multiple database sessions are opened. For instance, I load the page initially. Then, I go to another page with similar code, or refresh the same page, and the Oracle SESSIONID is different. This prohibits any effective VPD implementation. Using HTTPS, also occasionally generates a strange error: SSL call to function nzos_Handshake fails with error 29014 (client_ip:port) KeepAlive and any timeout related stuff set to 600 (10 min timeouts) or 0 (unlimited connections) Reproduce code: --------------- <?php $conn = @oci_pconnect('scott', 'tiger', 'mydb'); $query = "select sys_context('USERENV','SESSIONID') from dual"; $stid = oci_parse($_SESSION['conn'], $query); $results = oci_execute($stid, OCI_DEFAULT); $row = oci_fetch_array($stid); echo $row[0]; ?> Expected result: ---------------- SESSIONID#1 (refresh page) SESSIONID#1 (visit another page) SESSIONID#1 (refresh page) SESSIONID#1 Actual result: -------------- SESSIONID#1 (refresh page) SESSIONID#1 or #2 (i.e. sometimes not the same sessionid, sometimes is the same) (refresh page) SESSIONID#1 or #2 (visit another page) SESSIONID#1 or #2 (refresh other page) SESSIONID#1 or #2 (visit original page SESSIONID#1 or #2 and so on