On Thu, Aug 22, 2002 at 02:06:51PM +0200, [EMAIL PROTECTED] 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
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php