hi

i'm facing a weird problem. on one of the redhat linux 9 machines,
apache with php was running smoothly without any issues. then one day an
application stopped working, after doing some testing it was found that
in php sessions were not getting initialized.

i made a file test.php with the contents

        <? // test.php
        session_start();
        $myname = "vivek";
        session_register("myname");
        ?>

which registered the sessions and another file test2.php which printed
the sessions
        <? // test2.php
        session_start();
        echo $myname;
        ?>

these files are working fine without any problems in any other system
running apache and php. we thought maybe there's some problem in apache,
so lets compile our own apache with the latest versions of php and
apache. unfortunately that didn't work out as even after compiling from
source the problem didn't go.

sessions are being saved in /tmp and they're being created properly. i
can see the values that are supposed to be registered in /tmp, however
am not able to view in the browser. register_globals are "on" although
the above  code works even if they're "off".

am not able to figure out what can be the reason? all error display is
set in php and logs are also being generated. but no relevant error is
displayed here. initially had tried searching redhat errata for any
bugs, but then compiling apache from source also didn't do any good.

any pointers would be helpful

thanks

vivek

-- 
                                        \|||/
                                        (o o)
 --------------------------------ooO-----(_)-Ooo-
| vivek                | GPG Key:                |
| [EMAIL PROTECTED]    | http://exain.net/vike   |
|------------------------------------------------|
| Registered Linux User: #305493                 |
 ------------------------------------------------
                                       (  _  )
                                      _| | | |_
                                     (___| |___)


_______________________________________________
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[EMAIL PROTECTED]/

Reply via email to