Re: session in php 4.2.3
| From: | Leif K-Brooks | Date: | Tue, 12 Nov 2002 14:02:24 +0000 |
| Subject: | Re: session in php 4.2.3 | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-23236@lists.php.net to get a copy of this message | ||
My guess is a register_globals problem, but it's hard to tell without seeing your scripts.
dn wrote:
Hi! I have to support a PHP-Database-solution which someone else has developed. In addition I'm quite new to php ... It uses Oracle 8 to display values out of the database. Everything is running fine with php 4.1.1. Due to security reasons I wanted to update to php 4.2.3. I use the same values within both "configure"-runs: ./configure \-- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.--with-oci8=/oracle/product/8.1.7 \ --with-apxs=/usr/sbin/apxs \ --enable-sigchild \ --with-zlib-dir=shared \ --with-gd=/usr/ \ --with-png-dir=/usr/lib \ --without-mysqlThe php-scripts do the following when a user logs in:session_register("user","password","db");I assume that other scripts can use this values when they query the database. A session-file is created in /tmp/. As I mentioned above everything runs fine with php 4.1.1. With php 4.2.3 the login-script is ok! When another script is called it seems like it is not able to read the "sess...."-file which exists (!) in /tmp/sess.... Could you please give me a hint what I'm doing wrong! Thanks in advance! Daniel