note 29787 rejected from language.oop by rioter

From: Date: Tue, 25 Feb 2003 07:24:53 +0000
Subject: note 29787 rejected from language.oop by rioter
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-44479@lists.php.net to get a copy of this message
hey everybody, sorry if this question is a little remedial, but i'm sort of a scope klutz. for some reason, i can't access $_SESSION within a class no matter how hard i try or where i place a "global $_SESSION;" statement. i tried declaring the class before and after session_start(), no dice either way. i can access $_SESSION immediately outside of the class declaration in the same include file, but for some stinkin' reason, i just can't see the session! any ideas warmly appreciated, __oscar the grouch

« previous php.notes (#44479) next »