|
a little authentification handler doesnt work ...: msg#01960php.general
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
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: XML: Similiar Multiple Tags With Different Data, Analysis & Solutions |
|---|---|
| Next by Date: | Re: Combine 2 Db Columns with an Array?, 1LT John W. Holmes |
| Previous by Thread: | css sheets in designs, Dennis Gearon |
| Next by Thread: | ImageLines with styles, Leotta, Natalie (NCI/IMS) |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |