I have almost completed coding a site for a friend, i just u/l'd it to the remote server and the sessions do not work! hmm a session is created but none of the variables i give it are stored... My development server is using PHP version 4.3.0 and the remote server is using PHP 4.0.6..
heres an example of the code im using
<?
// Session start
session_start();
// Get Var form previous pages input
$var = $_GET ['var'];
// add var to the session vars list
$_SESSION ['var'] = $var;
// print var
echo $_SESSION ['var'];
?>
thanx in advance...