#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    1
    Rep Power
    0
    Hi to all,
    I've tried PHP4build4, RC1, RC2 and 4.0.0 with Win98 but sessions doesn't work:

    I've got 2 pages:

    first_page.php3

    <?
    session_start();
    $myvar="test";
    session_register("myvar");
    ?>

    second_page.php3

    <?
    session_start();
    echo $myvar;
    ?>

    I've launched first_page.php3, then I've launched second_page.php3: the browser doesn't display anything (it should display the world "test").

    Why?

    I've tried with both PWS and Apache.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2000
    Posts
    33
    Rep Power
    14
    I'm developing a website database backend at work and I recently upgraded us to RC2 and then v4.0.0, but both times, sessions seemed to stop working. When I reinstalled v4.0b4pl1, it worked fine. Try to get a copy of that and see if it goes for you. If you're still having trouble, I don't know what to tell you, check the temp directory or the sessions directory, I can't remember which and make sure the server has permissions to write to it. I submitted a <a href="http://bugs.php.net/version4/?id=4543">bug report</a> already to PHP.NET about it, but nobody has been assigned to check it out yet.

IMN logo majestic logo threadwatch logo seochat tools logo