Source for file index.php

Documentation is available at index.php

  1. <?php
  2. /// TEST HARNESS FOR SESSION STUFF
  3.  
  4.  
  5. $basepath "/bumblebee/test/";
  6.  
  7. preDump($_SESSION);
  8.  
  9. if (session_id()) {
  10.   print "Creating new session"session_id("<br />";
  11.   session_name('SessionTest');
  12.   session_set_cookie_params(ini_get('session.cookie_lifetime')$basepath);
  13.   print "Started session, "session_id("<br />";
  14. else {
  15.   print "Already have a session id<br />";
  16. }
  17.  
  18.  
  19. function preDump($v{
  20.     echo '<pre>';
  21.     var_dump($v);
  22.     #print_r($v);
  23.     echo '</pre>'."\n";
  24.   }
  25.  
  26. ?>

Documentation generated on Tue, 06 Mar 2007 10:01:35 +0000 by phpDocumentor 1.3.0