Well a functon that doesn't work under certain conditions should be deprecated IMO ... I haven't used it for a long time now...
To answer your question ... yep I've used print_r() and after the 1st form submission the entry is set to -1 however at no time do I ever set $_SESSION['test'] to -1 in my code example ... Rich > [snip] > Thanks, but no I don't think so ... session_register() is deprecated ... > [/snip] > > Not depricated, just doesn't work when register_globals is off in the > .ini > > Have you done a print_r($_SESSION) to see if in fact the $test variable > is contained? > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php