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

    Join Date
    Jul 2000
    Posts
    4
    Rep Power
    0
    The session code for php is as follows
    <?
    session_start();
    session_register("SESSION");

    //$SESSION["var1"] = 5;
    //$SESSION["var2"] = 6;

    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] ";
    ?>
    This is not displaying the page itself. please someone help
  2. #2
  3. Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Location
    Pembroke Pines, FL
    Posts
    11
    Rep Power
    0
    I got the same problem , what has happened ???

    Sergio.

Similar Threads

  1. Replies: 2
    Last Post: August 18th, 2004, 10:45 PM
  2. Replies: 2
    Last Post: February 2nd, 2004, 07:39 AM
  3. PHP with UnixODBC
    By coder4hire in forum PHP Development
    Replies: 2
    Last Post: January 20th, 2004, 01:14 PM
  4. UnixODBC + PHP + Apache + Empress
    By coder4hire in forum Database Management
    Replies: 0
    Last Post: January 15th, 2004, 01:41 PM
  5. session control in php
    By scooby2000 in forum PHP Development
    Replies: 1
    Last Post: January 9th, 2004, 07:50 PM

IMN logo majestic logo threadwatch logo seochat tools logo