RE: [PHP] session question

From: Date: Tue, 08 May 2001 19:00:21 +0000
Subject: RE: [PHP] session question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-51956@lists.php.net to get a copy of this message
Are you opening a session on each of the pages you want to use the variables? Calling session_register() I believe causes an implicit opening of the session, but on the other pages you have to explicity open the session, or you won't have access to those vars. - John Vanderbeck - Admin, GameDesign (http://gamedesign.incagold.com/) - GameDesign, the industry source for game design and development issues > -----Original Message----- > From: Rodrigo Reis da Rocha [mailto:digo@irb-brasilre.com.br] > Sent: Tuesday, May 08, 2001 2:58 PM > To: php-general@lists.php.net > Subject: [PHP] session question > > > I have a question about session variables. > In my page the session variables are not seen by the pages where > tem are not declared. > I´ve used "session_register($variable)" and so after at another > page I´ve called "echo $variable;" and it generate a message that > the variable does not exists. > The session variables are not suposed to be seen at any time, at > any page when the param globals is set on while session stands up? > > > Tkx. > R3. >

« previous php.general (#51956) next »