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
it.




                                                                                       
                              
                    dn                                                                 
                              
                    <dn75@planet-in       To:     [EMAIL PROTECTED]                 
                              
                    terkom.de>            cc:                                          
                              
                                          Subject:     [PHP-DB] session in php 4.2.3   
                              
                    11/12/2002                                                         
                              
                    07:54 AM                                                           
                              
                                                                                       
                              
                                                                                       
                              




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

The 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


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to