Deleting Existing Session Variables : Session Variables Delete : Cookie Session PHP Source Code


PHP Source Code » Cookie Session » Session Variables Delete »

 

Deleting Existing Session Variables



<?php
  session_start () ;
  session_register "A" ;
  session_register "B" ;
  session_register "C" ;
  
  $A = "AAA";
  $B = "BBB";
  $C = "CCC";

  $result = session_destroy () ;
  if ($result=1) {
     echo "The session is destroyed! " "n " ;
  else {
     echo "The session could not be destroyed. " " n" ;
  }
  
  echo $pop;
?>
           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo Cookie Session
» Session Variables Delete