PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
<?php
print_r($_SESSION); // $_SESSIONї'Assn'] = "none" at this point
$Assn = $_POSTї'Number'];
print_r($_SESSION); // $_SESSIONї'Assn'] = "1150" at this point
?>
while im still unsure about this, i think with register_globals on $_SESSION['Assn'] would be the same as $Assn. so setting one would change the other.
you've registered $Assn as a session variable because of register_globals being on. Basically you'll have to make sure that you use unique names for your session variables that you don't use anywhere else in your script except when setting or retrieving that session variable or turn reg_globals off.
Now due to register_globals being on, it has the same effect either way you do it, so $Assn will be the session variable. I hope that makes a little bit more sense. I also suggest that you read the manual a little more on sessions php.net/session