hi Ken, using your code - it works for me. All I can think is to be sure that your include file is 1) being included in both files, and 2) actually has the session_start(); call at the top.
See a demo at http://www.test-icu.com/ken-page1.php Best Regards, Mike ----- Original Message ----- From: Ken To: [email protected] Sent: Friday, November 17, 2006 5:01 PM Subject: Re: [php_mysql] session variables Ok Mike, First program $_SESSION['admin'] = "yes"; echo " admin = {$_SESSION['admin']} <br />"; Program I switch to. echo " admin = {$_SESSION['admin']} <br />"; Mike wrote: > > Ken - show us some code - maybe we can help. >
