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.
>
> ----- Original Message -----
> From: Ken
> To: [email protected] <mailto:php_mysql%40yahoogroups.com>
> Sent: Friday, November 17, 2006 3:17 PM
> Subject: [php_mysql] session variables
>
> I am having trouble with session variables.
>
> I set a value in it and then echo it out in the same program but when I
> switch to another program I cannot echo the value.
>
> I have the session_start as the first entry in an include which has my
> database initialization in it.
>
> Thanks,
> Ken
>
>  

Reply via email to