Jump to content
Larry Ullman's Book Forums

TonyB

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by TonyB

  1. Yeehaw,

     

    Got mine yesterday and finished the first two chapters.

    I have been *using* JavaScript for a couple of years ,now it's time to learn to program with it !

    This books is wonderful so far, the words flow and I can tell this is going to be a fun ride.

    I learned a lot from the PHP for the Web book and looking forward to finishing this book as well.

     

    Thanks Larry !

  2. Not sure if I am getting this, I followed along and still I am seeing the PHPSESSID

    here is the code <?php // Script 9.8 - logout.php

    /*

    *

    * Session ID is still present

    * I am using a Edit this Cookie

    * A Chrome Add On for working with

    * Cookies, still seeing the

    * PHPSESSID | localhost

    */

    // Need the session

    session_start();

    // Delete the session variable

    unset($_SESSION);

    // Reset the session array

    $_SESSION = array();

     

    session_destroy();

    // Define the page title and include the header

    define('TITLE', 'Log Out!');

    require('_includes/header.html');

     

    echo '<h2>Log Out Page!</h2>';

     

    require('_includes/footer.html');

    ?>

    Why am I still seeing the session ID ?

     

    Thanks so much! :rolleyes:

×
×
  • Create New...