Hi all,

I try to use your session handler, but didnt mange to

I can debug the script and notice that
$GLOBALS['HTTP_SESSION_VARS'];
doesnt exist ...so  $_SESSION  became null ?
I donwload that at http://adnoctum.netfirms.com/auth/.

The shity code :
 /**
  * Utility function called implicitly when needed.
  */
 function startSession() {
  if(!isset($_SESSION)) { // PHP 4.0.x
   $_SESSION = &$GLOBALS['HTTP_SESSION_VARS'];
  }
  if($this->securityLevel == AUTH_SECLEVEL_PROTECTED) {
   session_cache_limiter('private, must-revalidate');
   header('Cache-Control: private, must-revalidate');
  } else {
   session_cache_limiter('no-cache, must-revalidate');
   header('Cache-Control: no-cache, must-revalidate');
  }
....

Do i need special options to make your script working ?
I read the readme but I have got all rigth !

Thanks.




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to