Matt,

Actually, nothing happens.  I added the error_reporting( E_ALL ); feature as
Steve Werby suggested and still I get nothing.  All I see when I run the
script is:

* Counter initialized, please reload this page to see it increment
* The counter is now 0

Then when I refresh it still says the same thing.

I'm not very bright with this stuff but I appreciate the input.  Any other
suggestions would be welcomed.

Rus

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Matthew
Nuzum
Sent: Wednesday, February 27, 2002 12:07 PM
To: Cobalt Dev
Subject: RE: [cobalt-developers] PHP Sessions on Raq4 (More Info)


Hmm.... Works OK on mine.  I upgraded to the 4.0.6, but that shouldn't
matter.

What does happen on yours when you use the script below?

Matt Nuzum

On Wed, 2002-02-27 at 12:24, Rus Rasmussen wrote:
    As a follow up:  I'm using PHP Version 4.0.3pl1.  Trying to run this
sample
    script from a tutorial doesn't work either.

    <?
    session_start();
    session_register("SESSION");

    if (! isset($SESSION)) {
        $SESSION["count"] = 0;
        echo "<li>Counter initialized, please reload this page to see it
    increment";
    } else {
        echo "<li>Waking up session $PHPSESSID";
        $SESSION["count"]++;
    }
    echo "<li>The counter is now $SESSION[count] ";
    ?>



    -----Original Message-----
    From: [EMAIL PROTECTED]
    [mailto:[EMAIL PROTECTED]]On Behalf Of Rus
    Rasmussen
    Sent: Wednesday, February 27, 2002 9:37 AM
    To: [EMAIL PROTECTED]
    Subject: [cobalt-developers] PHP Sessions on Raq4


    I can't seem to get my php sessions to work on my Raq4.  PHP is working
    fine. I am able to pass information in forms, make db queries, etc.
I've
    run the phpinfo.php script and it says that php is working and that
sessions
    are turned on in my php.ini file, but they simply won't work.  Any
ideas?

    Thanks,

    Rus

    _______________________________________________
    cobalt-developers mailing list
    [EMAIL PROTECTED]
    http://list.cobalt.com/mailman/listinfo/cobalt-developers

    _______________________________________________
    cobalt-developers mailing list
    [EMAIL PROTECTED]
http://list.cobalt.com/mailman/listinfo/cobalt-developers



_______________________________________________
cobalt-developers mailing list
[EMAIL PROTECTED]
http://list.cobalt.com/mailman/listinfo/cobalt-developers

_______________________________________________
cobalt-developers mailing list
[EMAIL PROTECTED]
http://list.cobalt.com/mailman/listinfo/cobalt-developers

Reply via email to