Re: ext OCI8 again
| From: | Thies C. Arntzen | Date: | Thu, 22 Aug 2002 12:32:02 +0000 |
| Subject: | Re: ext OCI8 again | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-87280@lists.php.net to get a copy of this message | ||
On Thu, Aug 22, 2002 at 02:06:51PM +0200, abdul-kareem.abo-namous@email.de wrote:
> Hi everyone
>
> I am in the process of rewriting a few parts of the oci ext,
> mainly the createn/init of OCIEnv. This is an extremly
> important step in order to be able to support multiple nls's
> (character sets etc.) on the same server in a shared
> environment.
>
> just to understand it:
>
> as it seems, OCI(pEnv) is filled once at MINIT, which means
> that all sessions share the nls environment settings. if I
> change the initialization to be done upon every connection
> start, this would ultimatly lead to chaos since all running
> sessions (or requests) share the same env.
what i would do is move the env into the oci_session and add
another parameter to oci[p|n]logon() - the NLS setting for
this connection. that way it shouldn't become a mess;-)
tc