As far as I know, session feature is supported only in PHP 4.
Probably you should look into register_globals issue. In PHP 4, it is turned off by default. So, instead of accessing posted variable using $var, you have to use $HTTP_POST_VARS["var"].
Detail information should be provided at PHP Documentation accessible from http://www.php.net
scoppc
"May All Beings Live In Happiness"