hi i am using basic sessionsin php and they seem to be working fine except for my basic user authentication abasic session var will not show when i try to echo it to the next action page of the form here is the relevent code and near as i can fugure sessions technically is working also when i veiw the source of the next action page it shows that a hidden form with PHPSESSID has been created but my echo will not print the page for some reason cannot access the session variable help please and i will see you at phpWORKS in september please
$valid_user = $row['staff_id'];
$_SESSION['valid_user'] = $valid_user;
echo "<form method='POST' action='transfer.php'<p>What do you choose to do?<br><select name='choose'><option value='Client_information'>Client Info</option><option value='Client_med_review'>Client Med Review</option><option value='Client_psycho_social'>Client Psycho Social</option><option value='Client_doctor'>Client Doctor</option><option value='Client_person_centered_plan'>Person Centered Plan</option><option value='Client_legal'>Client Legal</option><option value='Client_family'>Client Family</option>";
echo "</select><input type='submit' value='GO TO'></form>";
<?session_start();
$SESSION['valid_user'];
ob_start();
switch($POST['choose']){
case "Client_information":
header("Location: [url]http://xxxxxxxxxxxxxxxxxxx/client_info.php[/url]");
break;
<? ob_start();
session_start();
header("Cache-Control: Private");
echo $_SESSION['valid_user'];
windows 2003 IIs6 php 5.0.1 mysql 4.0