are you stating the session on on the other pages with session_start()?
what errors are you getting?  if you check for session_is_registered
("user") on the other pages, what do you get?

can you send some code along, its hard to see what the issue may be without

                    <dn75@planet-in       To:     [EMAIL PROTECTED]                 
          >            cc:                                          
                                          Subject:     [PHP-DB] session in php 4.2.3   
                    07:54 AM                                                           


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 \
 --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 \

The php-scripts do the following when a user logs in:


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!


PHP Database Mailing List (
To unsubscribe, visit:

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to