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:[EMAIL PROTECTED]]
> Sent: Tuesday, May 08, 2001 2:58 PM
> To: [EMAIL PROTECTED]
> 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.
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to