João Cândido de Souza Neto wrote: > Hipeople. > > I've a system where i use session and all is working fine. But has > something that don't work and i can't to find the cause. > > When a use the include function, the file included don't see the session > vars. > > Anyone knows why it's happen? > > Thanks. > I'll try to explain better my problem. After start the session and setting all of session variables. I have a file named top.php that has the follow code in: <a href="<? echo $_SESSION["root"]; ?>/about.php"> About system </a> I've too a file named page.php that has the follow code in: <? session_start(); ?> ... Some codes ... <? include("top.php"); ?> ... some codes ... By this way, the file top.php ought to see the $_SESSION["root"] variable, but it isn't happening. Just to remember, my register_global is defined to off. Thanks for your tips. -- --------------------------------------------------- João Cândido de Souza Neto Web Developer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php